Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 107.6 kB / 16.45 MB, free: 6.445 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.001197/0.001197, allocations: 186.4 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.827/1.827, 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.0918/0.0918, allocations: 12.59 MB / 283.2 MB, free: 15.38 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.002001/0.002001, allocations: 86.98 kB / 394.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1395, allocations: 49.41 MB / 443.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.003115/0.1427, allocations: 1.575 MB / 445.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.1437, allocations: 0.5074 MB / 445.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.1438, allocations: 7.875 kB / 445.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.1439, allocations: 3.938 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.144, allocations: 19.84 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1443, allocations: 39.89 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1445, allocations: 55.84 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1446, allocations: 35.91 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.1447, allocations: 27.84 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.1448, allocations: 31.84 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1448, allocations: 4 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.1448, allocations: 4 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.1449, allocations: 8 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.1449, allocations: 35.78 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1451, allocations: 55.75 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1451, allocations: 4 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1451, allocations: 0 / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1451, allocations: 0 / 446 MB, free: 14.04 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000591/0.1457, allocations: 375.2 kB / 446.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1458, allocations: 12.03 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.1458, allocations: 12.78 kB / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1461, allocations: 184.2 kB / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1462, allocations: 4.375 kB / 446.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1462, allocations: 8.375 kB / 446.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.1466, allocations: 141.2 kB / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1466, allocations: 0 / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1466, allocations: 0 / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1466, allocations: 4 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1468, allocations: 27.98 kB / 446.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.1474, allocations: 309.5 kB / 447 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.1478, allocations: 154.3 kB / 447.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.1479, allocations: 41.8 kB / 447.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1479, allocations: 8.062 kB / 447.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.148, allocations: 63.33 kB / 447.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.1481, allocations: 0 / 447.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003576/0.1484, allocations: 113.5 kB / 447.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.1485, allocations: 85.11 kB / 447.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1486, allocations: 117.8 kB / 447.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1487, allocations: 25.7 kB / 447.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.1487, allocations: 92.12 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1488, allocations: 15.81 kB / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.1488, allocations: 29.7 kB / 447.8 MB, free: 12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.149, allocations: 318.8 kB / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.1491, allocations: 23.98 kB / 448.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.1492, allocations: 65.08 kB / 448.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1493, allocations: 85.06 kB / 448.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1493, allocations: 0 / 448.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000199/0.1495, allocations: 113.5 kB / 448.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1496, allocations: 4.375 kB / 448.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.1496, allocations: 4 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1496, allocations: 0 / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.1497, allocations: 15.98 kB / 448.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1497, allocations: 8.031 kB / 448.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.1498, allocations: 16.12 kB / 448.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1498, allocations: 7.938 kB / 448.4 MB, free: 11.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,ClockedRealToTrigger.y3,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y,$whenCondition1,$CLKPRE.ClockedRealToTrigger.y2,ClockedRealToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001295/0.15, allocations: 121.8 kB / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.15, allocations: 49.61 kB / 448.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.1501, allocations: 19.89 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1501, allocations: 4 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1501, allocations: 0 / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1501, allocations: 3.938 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.1505, allocations: 338.8 kB / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1505, allocations: 0 / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.1506, allocations: 8 kB / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1506, allocations: 0 / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1506, allocations: 7.938 kB / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1506, allocations: 11.92 kB / 449 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1507, allocations: 0 / 449 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1509, allocations: 196.2 kB / 449.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.151, allocations: 81.02 kB / 449.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.151, allocations: 8 kB / 449.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1511, allocations: 7.922 kB / 449.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.1511, allocations: 4 kB / 449.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1511, allocations: 4 kB / 449.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.1512, allocations: 87.27 kB / 449.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1512, allocations: 8 kB / 449.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1515, allocations: 12 kB / 449.3 MB, free: 10.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001374/0.1516, allocations: 95.25 kB / 449.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1519, allocations: 68.22 kB / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1519, allocations: 4 kB / 449.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.1519, allocations: 19.98 kB / 449.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1522, allocations: 23.86 kB / 449.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.1527, allocations: 180.6 kB / 449.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.153, allocations: 0.6885 MB / 450.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.926e-05/0.1531, allocations: 7.953 kB / 450.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.1531, allocations: 19.42 kB / 450.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1531, allocations: 0 / 450.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of Templates: time 0.003688/0.1568, allocations: 0.6728 MB / 451.1 MB, free: 8.398 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)