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.008362/0.008362, allocations: 89 kB / 15.91 MB, free: 6.309 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.00166/0.001661, allocations: 198.2 kB / 16.83 MB, free: 6.238 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.878/1.878, allocations: 205.1 MB / 222.7 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09914/0.09914, allocations: 12.59 MB / 282.6 MB, free: 8.762 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.0017/0.0017, allocations: 76.64 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1319, allocations: 49.39 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.002998/0.135, allocations: 1.598 MB / 393.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.1358, allocations: 491.7 kB / 394.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.1359, allocations: 0 / 394.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.1359, allocations: 3.938 kB / 394.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.136, allocations: 11.92 kB / 394.3 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1364, allocations: 27.97 kB / 394.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1365, allocations: 51.78 kB / 394.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1366, allocations: 12 kB / 394.4 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.332e-05/0.1367, allocations: 23.91 kB / 394.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.1367, allocations: 27.86 kB / 394.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1368, allocations: 0 / 394.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.1368, allocations: 4 kB / 394.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.1368, allocations: 4 kB / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.1369, allocations: 23.86 kB / 394.4 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.137, allocations: 43.81 kB / 394.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.137, allocations: 0 / 394.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.137, allocations: 0 / 394.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.137, allocations: 0 / 394.5 MB, free: 1.383 MB / 286.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.0004844/0.1375, allocations: 359.6 kB / 394.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1375, allocations: 12.03 kB / 394.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.1376, allocations: 8.844 kB / 394.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1378, allocations: 184.2 kB / 395 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1378, allocations: 4.375 kB / 395 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1378, allocations: 384 / 395 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1382, allocations: 134.1 kB / 395.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1382, allocations: 3.938 kB / 395.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1382, allocations: 8 kB / 395.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1382, allocations: 0 / 395.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.1383, allocations: 19.98 kB / 395.2 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.1388, allocations: 274.6 kB / 395.5 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1391, allocations: 160.8 kB / 395.6 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1393, allocations: 38.67 kB / 395.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1393, allocations: 11.98 kB / 395.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1394, allocations: 34.56 kB / 395.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1394, allocations: 0 / 395.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000337/0.1397, allocations: 97.44 kB / 395.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/0.1398, allocations: 107.1 kB / 395.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1399, allocations: 113.8 kB / 396 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.14, allocations: 29.7 kB / 396.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.1401, allocations: 84.14 kB / 396.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1401, allocations: 3.906 kB / 396.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.1401, allocations: 25.7 kB / 396.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1403, allocations: 314.8 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.1404, allocations: 15.92 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.1405, allocations: 52.28 kB / 396.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1406, allocations: 60.16 kB / 396.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1406, allocations: 8 kB / 396.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001641/0.1408, allocations: 85.45 kB / 396.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1408, allocations: 5.25 kB / 396.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1408, allocations: 3.984 kB / 396.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1409, allocations: 4 kB / 396.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.141, allocations: 12.31 kB / 396.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.141, allocations: 0 / 396.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.141, allocations: 16.06 kB / 396.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1411, allocations: 7.984 kB / 396.7 MB, free: 14.8 MB / 302.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.909e-05/0.1412, allocations: 121.7 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.1412, allocations: 49.69 kB / 396.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.1413, allocations: 7.906 kB / 396.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1413, allocations: 4 kB / 396.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1413, allocations: 0 / 396.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1413, allocations: 0 / 396.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.1415, allocations: 177.4 kB / 397.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1416, allocations: 4 kB / 397.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.1416, allocations: 11.98 kB / 397.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1416, allocations: 4 kB / 397.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1416, allocations: 0 / 397.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1417, allocations: 0 / 397.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1417, allocations: 4 kB / 397.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1419, allocations: 185.1 kB / 397.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1419, allocations: 85.3 kB / 397.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.142, allocations: 7.984 kB / 397.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.142, allocations: 0 / 397.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.1421, allocations: 7.984 kB / 397.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1421, allocations: 0 / 397.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.1421, allocations: 91.27 kB / 397.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1421, allocations: 0 / 397.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1424, allocations: 8 kB / 397.5 MB, free: 13.94 MB / 302.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.0001078/0.1425, allocations: 99.25 kB / 397.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.1427, allocations: 47.91 kB / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1427, allocations: 3.938 kB / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.1427, allocations: 11.94 kB / 397.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1431, allocations: 27.86 kB / 397.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.1435, allocations: 178.8 kB / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.144, allocations: 0.6887 MB / 398.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.1441, allocations: 0 / 398.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.1441, allocations: 19.36 kB / 398.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1441, allocations: 4 kB / 398.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Templates: time 0.002705/0.1468, allocations: 460.6 kB / 399 MB, free: 12.36 MB / 302.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)