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.001139/0.001139, allocations: 100.9 kB / 16.45 MB, free: 6.438 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.001031/0.001031, allocations: 190 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.816/1.816, 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.0887/0.0887, 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.001782/0.001782, allocations: 89.47 kB / 394.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1139, allocations: 49.4 MB / 443.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.00274/0.1167, allocations: 1.531 MB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.1176, allocations: 497.3 kB / 445.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.1177, allocations: 8 kB / 445.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.1177, allocations: 3.938 kB / 445.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.1178, allocations: 11.88 kB / 445.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1181, allocations: 39.89 kB / 445.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.924e-05/0.1182, allocations: 39.86 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1183, allocations: 23.91 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.1184, allocations: 23.86 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.1185, allocations: 23.86 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1185, allocations: 4 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.1186, allocations: 4 kB / 445.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.1186, allocations: 7.984 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1186, allocations: 23.88 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1188, allocations: 47.75 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1188, allocations: 0 / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1188, allocations: 0 / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1188, allocations: 0 / 445.8 MB, free: 14.21 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.0005517/0.1193, allocations: 363.3 kB / 446.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1194, allocations: 16.02 kB / 446.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1194, allocations: 8.844 kB / 446.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1197, allocations: 180.3 kB / 446.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1197, allocations: 384 / 446.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1197, allocations: 4.375 kB / 446.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.1201, allocations: 142.1 kB / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1201, allocations: 0 / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1201, allocations: 0 / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1201, allocations: 0 / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.1202, allocations: 27.92 kB / 446.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.1206, allocations: 274.6 kB / 446.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1209, allocations: 152.8 kB / 447 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.121, allocations: 38.69 kB / 447 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.121, allocations: 7.938 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1211, allocations: 38.55 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1211, allocations: 0 / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003188/0.1214, allocations: 89.59 kB / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.1215, allocations: 118.9 kB / 447.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1217, allocations: 125.7 kB / 447.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1217, allocations: 25.7 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.1217, allocations: 88.08 kB / 447.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1218, allocations: 7.906 kB / 447.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.1218, allocations: 21.7 kB / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.122, allocations: 314.8 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.122, allocations: 11.98 kB / 447.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.1221, allocations: 52.28 kB / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1222, allocations: 68.16 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1222, allocations: 4 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001595/0.1224, allocations: 81.55 kB / 448 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1224, allocations: 4 kB / 448 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1224, allocations: 4 kB / 448 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1225, allocations: 0 / 448 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.1226, allocations: 15.98 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1226, allocations: 4 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.1226, allocations: 128 / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1226, allocations: 8 kB / 448.1 MB, free: 11.63 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 0.0001254/0.1228, allocations: 125.7 kB / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/0.1229, allocations: 45.61 kB / 448.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.1229, allocations: 15.89 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1229, allocations: 0 / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1229, allocations: 0 / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.123, allocations: 4 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.1232, allocations: 169.6 kB / 448.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1232, allocations: 0 / 448.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.1233, allocations: 15.98 kB / 448.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1233, allocations: 0 / 448.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1233, allocations: 0 / 448.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1233, allocations: 7.938 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1233, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1236, allocations: 189.1 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.1237, allocations: 81.11 kB / 448.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1237, allocations: 4.062 kB / 448.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.1238, allocations: 11.92 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1238, allocations: 0 / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1239, allocations: 4.375 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.015e-05/0.1239, allocations: 95.14 kB / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1239, allocations: 0 / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1242, allocations: 15.91 kB / 448.8 MB, free: 10.75 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.0001746/0.1244, allocations: 103.5 kB / 448.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1246, allocations: 47.89 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1246, allocations: 0 / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.1246, allocations: 8 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.125, allocations: 31.89 kB / 449 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.1254, allocations: 156.6 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1258, allocations: 0.6885 MB / 449.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.1258, allocations: 0 / 449.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.1259, allocations: 11.44 kB / 449.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1259, allocations: 0 / 449.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of Templates: time 0.003191/0.1291, allocations: 0.5358 MB / 450.4 MB, free: 9.105 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)