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.001316/0.001316, allocations: 109.2 kB / 16.45 MB, free: 6.43 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.001527/0.001527, allocations: 186.9 kB / 17.39 MB, free: 5.676 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.786/1.786, allocations: 205.1 MB / 223.3 MB, free: 12.23 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.08548/0.08548, allocations: 12.6 MB / 283.2 MB, free: 15.4 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.002068/0.002068, allocations: 90.7 kB / 394.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 49.4 MB / 443.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.002982/0.1355, allocations: 1.583 MB / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.1365, allocations: 0.5073 MB / 445.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.1366, allocations: 8 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.1366, allocations: 7.875 kB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.1367, allocations: 3.938 kB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.137, allocations: 43.83 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1372, allocations: 51.91 kB / 445.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1373, allocations: 39.88 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.1374, allocations: 27.8 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.1375, allocations: 27.86 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.1376, allocations: 8 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.1376, allocations: 4 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.1376, allocations: 11.98 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.1377, allocations: 35.8 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.1378, allocations: 55.8 kB / 446 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1378, allocations: 0 / 446 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1379, allocations: 0 / 446 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1379, allocations: 0 / 446 MB, free: 14.08 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.0006537/0.1385, allocations: 367.3 kB / 446.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1386, allocations: 12.03 kB / 446.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1386, allocations: 8.844 kB / 446.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1389, allocations: 192.1 kB / 446.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.139, allocations: 12.31 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.139, allocations: 4.375 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.1393, allocations: 133.3 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1393, allocations: 0 / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1394, allocations: 8 kB / 446.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.1394, allocations: 0 / 446.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1395, allocations: 35.84 kB / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.1401, allocations: 301.6 kB / 447 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1404, allocations: 158.2 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.1405, allocations: 37.8 kB / 447.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1405, allocations: 0 / 447.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.1406, allocations: 63.39 kB / 447.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.416e-06/0.1406, allocations: 0 / 447.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003252/0.141, allocations: 121.5 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.1411, allocations: 85.03 kB / 447.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.1412, allocations: 113.8 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1412, allocations: 29.7 kB / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.1412, allocations: 88.14 kB / 447.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1413, allocations: 19.8 kB / 447.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.1413, allocations: 25.72 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1415, allocations: 322.8 kB / 448.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.1415, allocations: 23.98 kB / 448.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.1416, allocations: 57.39 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1418, allocations: 89.08 kB / 448.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1418, allocations: 0 / 448.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002084/0.142, allocations: 117.4 kB / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.142, allocations: 7.938 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.142, allocations: 4 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.142, allocations: 0 / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.1421, allocations: 15.98 kB / 448.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1421, allocations: 0 / 448.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.1422, allocations: 11.94 kB / 448.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1422, allocations: 8.312 kB / 448.4 MB, free: 11.34 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.0001107/0.1423, allocations: 130.1 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.1424, allocations: 57.53 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1425, allocations: 11.97 kB / 448.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1425, allocations: 3.938 kB / 448.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1425, allocations: 0 / 448.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1425, allocations: 3.984 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.1429, allocations: 330.5 kB / 448.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1429, allocations: 0 / 448.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.1429, allocations: 19.98 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1429, allocations: 0 / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.143, allocations: 4 kB / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.143, allocations: 3.938 kB / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.143, allocations: 0 / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1432, allocations: 196.3 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1433, allocations: 89.02 kB / 449.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1433, allocations: 8 kB / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.1434, allocations: 7.938 kB / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1434, allocations: 3.984 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1434, allocations: 4 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.1435, allocations: 91.27 kB / 449.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1435, allocations: 3.938 kB / 449.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1437, allocations: 12 kB / 449.3 MB, free: 10.27 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.0001215/0.1439, allocations: 99.25 kB / 449.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1441, allocations: 67.91 kB / 449.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1441, allocations: 0 / 449.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.1442, allocations: 23.92 kB / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1445, allocations: 23.92 kB / 449.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.1449, allocations: 169 kB / 449.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1453, allocations: 0.6963 MB / 450.4 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.1454, allocations: 15.88 kB / 450.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1454, allocations: 11.44 kB / 450.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1454, allocations: 0 / 450.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of Templates: time 0.004009/0.1495, allocations: 0.6998 MB / 451.1 MB, free: 8.41 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)