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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 104.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 192.1 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08873/0.08873, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 87.56 kB / 394.1 MB, free: 45.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 49.41 MB / 443.6 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.003284/0.1223, allocations: 1.534 MB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1235, allocations: 493.3 kB / 445.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1237, allocations: 4 kB / 445.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.1237, allocations: 7.922 kB / 445.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1238, allocations: 11.86 kB / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1243, allocations: 39.91 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1244, allocations: 43.84 kB / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1246, allocations: 23.92 kB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1248, allocations: 31.84 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1249, allocations: 19.86 kB / 445.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1249, allocations: 4 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.1249, allocations: 4 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.125, allocations: 4 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.125, allocations: 19.86 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1252, allocations: 47.81 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.1252, allocations: 0 / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1252, allocations: 0 / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1252, allocations: 0 / 445.8 MB, free: 14.2 MB / 334.1 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.0007125/0.126, allocations: 367.3 kB / 446.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.126, allocations: 8.031 kB / 446.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.1261, allocations: 8.844 kB / 446.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.1265, allocations: 180.3 kB / 446.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1265, allocations: 8.359 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1265, allocations: 8.375 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.127, allocations: 134 kB / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.127, allocations: 0 / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1271, allocations: 0 / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1271, allocations: 0 / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.1272, allocations: 27.92 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1276, allocations: 278.6 kB / 446.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1278, allocations: 152.8 kB / 447 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1279, allocations: 46.69 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.128, allocations: 3.938 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.128, allocations: 34.56 kB / 447.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.866e-06/0.128, allocations: 0 / 447.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003041/0.1283, allocations: 97.75 kB / 447.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.1284, allocations: 114.7 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1286, allocations: 113.8 kB / 447.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1286, allocations: 25.7 kB / 447.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.1286, allocations: 92.06 kB / 447.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1287, allocations: 11.91 kB / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1287, allocations: 17.72 kB / 447.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1288, allocations: 314.9 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.1289, allocations: 16 kB / 447.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.129, allocations: 44.28 kB / 447.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1292, allocations: 76.14 kB / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1292, allocations: 0 / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.1293, allocations: 85.55 kB / 448 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1294, allocations: 4 kB / 448 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1294, allocations: 4 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1294, allocations: 0 / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.1295, allocations: 12.12 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1295, allocations: 7.984 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.1296, allocations: 0 / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1296, allocations: 4.234 kB / 448.1 MB, free: 11.62 MB / 334.1 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.y,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y2) * 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 9.428e-05/0.1297, allocations: 126.1 kB / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.1298, allocations: 57.53 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.1299, allocations: 7.906 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1299, allocations: 0 / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1299, allocations: 0 / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1299, allocations: 4 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1301, allocations: 177.6 kB / 448.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1301, allocations: 0 / 448.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1303, allocations: 8 kB / 448.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1303, allocations: 0 / 448.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1303, allocations: 0 / 448.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1303, allocations: 7.938 kB / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1303, allocations: 3.984 kB / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1305, allocations: 189.1 kB / 448.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.1306, allocations: 81.11 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1306, allocations: 3.938 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.1307, allocations: 4 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1307, allocations: 4 kB / 448.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1307, allocations: 12.05 kB / 448.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.149e-05/0.1308, allocations: 87.22 kB / 448.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1308, allocations: 4 kB / 448.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.131, allocations: 11.91 kB / 448.8 MB, free: 10.74 MB / 334.1 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.0001912/0.1312, allocations: 99.19 kB / 448.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.1314, allocations: 43.91 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1314, allocations: 0 / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.1315, allocations: 15.98 kB / 449 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1318, allocations: 24.28 kB / 449 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.1322, allocations: 160.2 kB / 449.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1326, allocations: 0.6885 MB / 449.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.1326, allocations: 0 / 449.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.1326, allocations: 11.44 kB / 449.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1326, allocations: 4 kB / 449.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of Templates: time 0.003812/0.1365, allocations: 0.5085 MB / 450.4 MB, free: 9.121 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)