Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 170.2 kB / 16.14 MB, free: 5.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 222.3 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007765/0.0007765, allocations: 95.52 kB / 270.7 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07537/0.07537, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 11.98 kB / 392.8 MB, free: 65.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08215/0.08251, allocations: 50.37 MB / 443.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.001536/0.08408, allocations: 1.254 MB / 444.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.08478, allocations: 475.8 kB / 444.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.08489, allocations: 3.938 kB / 444.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.08493, allocations: 7.984 kB / 444.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.08501, allocations: 3.938 kB / 444.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.08537, allocations: 31.95 kB / 444.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.08546, allocations: 51.8 kB / 445 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.08557, allocations: 11.98 kB / 445 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.08566, allocations: 15.94 kB / 445 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.08573, allocations: 23.78 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.08575, allocations: 4 kB / 445 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.08577, allocations: 4 kB / 445 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.0858, allocations: 11.98 kB / 445 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.08585, allocations: 41.58 kB / 445.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.689e-05/0.08595, allocations: 36.09 kB / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.08596, allocations: 0 / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.08597, allocations: 3.938 kB / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.08598, allocations: 0 / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003994/0.08638, allocations: 355.3 kB / 445.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.08644, allocations: 8.031 kB / 445.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.08648, allocations: 42.73 kB / 445.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.08651, allocations: 12.84 kB / 445.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.08667, allocations: 172.3 kB / 445.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.08668, allocations: 4.375 kB / 445.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.0867, allocations: 4.375 kB / 445.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.08698, allocations: 141.8 kB / 445.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.08701, allocations: 0 / 445.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.08703, allocations: 3.984 kB / 445.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.08704, allocations: 0 / 445.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.08713, allocations: 27.98 kB / 445.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.08743, allocations: 274.6 kB / 446.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.08763, allocations: 156.9 kB / 446.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.0877, allocations: 46.62 kB / 446.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.08773, allocations: 0 / 446.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.08775, allocations: 38.55 kB / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.08776, allocations: 0 / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000266/0.08803, allocations: 101.5 kB / 446.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.08809, allocations: 110.7 kB / 446.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.08815, allocations: 117.8 kB / 446.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.08817, allocations: 25.7 kB / 446.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.0882, allocations: 92.12 kB / 446.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.08823, allocations: 12.09 kB / 446.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.08824, allocations: 4 kB / 446.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.0883, allocations: 330.7 kB / 447.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.08835, allocations: 8 kB / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.0884, allocations: 48.22 kB / 447.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.765e-05/0.08851, allocations: 72.22 kB / 447.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.08852, allocations: 0 / 447.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001501/0.08868, allocations: 89.59 kB / 447.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.0887, allocations: 5.094 kB / 447.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.08871, allocations: 4 kB / 447.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.08874, allocations: 0 / 447.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.08882, allocations: 11.94 kB / 447.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.08883, allocations: 7.984 kB / 447.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.08889, allocations: 11.91 kB / 447.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.0889, allocations: 4.125 kB / 447.4 MB, free: 10.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (ClockedRealToSquare.y2,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/0.08898, allocations: 122.7 kB / 447.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.08907, allocations: 53.84 kB / 447.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.08911, allocations: 7.906 kB / 447.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.08912, allocations: 4 kB / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.08913, allocations: 0 / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.08914, allocations: 0 / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.08933, allocations: 165.6 kB / 447.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.08934, allocations: 3.984 kB / 447.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.0894, allocations: 16 kB / 447.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.08942, allocations: 4 kB / 447.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.08943, allocations: 0 / 447.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.08944, allocations: 4 kB / 447.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.08945, allocations: 0 / 447.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.08962, allocations: 197.4 kB / 448 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.08966, allocations: 81.02 kB / 448 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.08969, allocations: 8 kB / 448.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.08976, allocations: 4 kB / 448.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.08981, allocations: 3.938 kB / 448.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.08982, allocations: 7.984 kB / 448.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.558e-05/0.08986, allocations: 83.28 kB / 448.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08988, allocations: 0 / 448.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.09011, allocations: 8 kB / 448.2 MB, free: 9.848 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (ClockedRealToSquare.y,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005174/0.09063, allocations: 0.7494 MB / 448.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.0908, allocations: 55.84 kB / 449 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.09082, allocations: 0 / 449 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.09087, allocations: 11.98 kB / 449 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.09119, allocations: 27.97 kB / 449 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.09235, allocations: 1.412 MB / 450.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.09248, allocations: 0.6965 MB / 451.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.09252, allocations: 0 / 451.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.09257, allocations: 15.44 kB / 451.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09257, allocations: 0 / 451.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.1027, allocations: 1.351 MB / 452.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.1029, allocations: 224.2 kB / 452.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.679, allocations: 4.062 kB / 452.7 MB, free: 5.098 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)