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.001345/0.001345, allocations: 96.28 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 182 kB / 16.62 MB, free: 6.145 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.718/1.718, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.09164/0.09164, allocations: 12.6 MB / 283.6 MB, free: 8.695 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.0009629/0.000963, allocations: 23.98 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.119, allocations: 50.38 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.001937/0.121, allocations: 1.28 MB / 396.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008821/0.1219, allocations: 480 kB / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.122, allocations: 0 / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.122, allocations: 7.938 kB / 396.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.1221, allocations: 11.98 kB / 396.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1225, allocations: 39.83 kB / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.1226, allocations: 35.95 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1227, allocations: 19.92 kB / 396.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.1228, allocations: 15.94 kB / 396.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.1229, allocations: 23.89 kB / 396.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1229, allocations: 0 / 396.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.1229, allocations: 8 kB / 396.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.1229, allocations: 7.938 kB / 396.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.123, allocations: 37.64 kB / 396.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.1231, allocations: 39.91 kB / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1231, allocations: 4 kB / 396.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1231, allocations: 0 / 396.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1231, allocations: 0 / 396.9 MB, free: 0.7773 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005468/0.1237, allocations: 355.4 kB / 397.2 MB, free: 392 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1237, allocations: 12.03 kB / 397.2 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.1238, allocations: 11.91 kB / 397.3 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.124, allocations: 178.9 kB / 397.4 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.124, allocations: 4 kB / 397.4 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.124, allocations: 15.88 kB / 397.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1244, allocations: 149 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1244, allocations: 3.938 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1244, allocations: 0 / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1244, allocations: 0 / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.1246, allocations: 35.98 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1251, allocations: 309.5 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.1253, allocations: 158.4 kB / 398.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1254, allocations: 4 kB / 398.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1255, allocations: 63.44 kB / 398.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1256, allocations: 0 / 398.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000315/0.1259, allocations: 129.5 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.126, allocations: 81.11 kB / 398.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.126, allocations: 118 kB / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1261, allocations: 25.7 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1261, allocations: 92.23 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.1262, allocations: 15.89 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.1262, allocations: 0 / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1263, allocations: 322.8 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.1263, allocations: 20 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.1264, allocations: 69.12 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.1265, allocations: 27.94 kB / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1265, allocations: 8 kB / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001906/0.1267, allocations: 113.4 kB / 399.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1267, allocations: 4 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1267, allocations: 4 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1268, allocations: 0 / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.1268, allocations: 15.98 kB / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1269, allocations: 8.156 kB / 399.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.1269, allocations: 11.94 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.127, allocations: 7.938 kB / 399.2 MB, free: 14.17 MB / 302.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 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.441e-05/0.1271, allocations: 126.2 kB / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.1271, allocations: 53.97 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.1272, allocations: 11.97 kB / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1272, allocations: 0 / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1272, allocations: 0 / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1272, allocations: 11.92 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1275, allocations: 350.4 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1275, allocations: 0 / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.1276, allocations: 11.98 kB / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1276, allocations: 4 kB / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1276, allocations: 0 / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1276, allocations: 0 / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1276, allocations: 8.312 kB / 399.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1278, allocations: 210 kB / 400 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.1279, allocations: 88.95 kB / 400.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1279, allocations: 4 kB / 400.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.128, allocations: 8.234 kB / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1281, allocations: 15.94 kB / 400.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1281, allocations: 0 / 400.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.1281, allocations: 91.27 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1281, allocations: 0 / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1284, allocations: 12 kB / 400.2 MB, free: 13.07 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.1285, allocations: 103.2 kB / 400.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1287, allocations: 67.91 kB / 400.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1287, allocations: 0 / 400.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.1288, allocations: 23.92 kB / 400.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.129, allocations: 20.03 kB / 400.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.1293, allocations: 202.9 kB / 400.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1296, allocations: 0.6926 MB / 401.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.1296, allocations: 7.984 kB / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1297, allocations: 11.44 kB / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1297, allocations: 3.938 kB / 401.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Templates: time 0.00288/0.1326, allocations: 0.5661 MB / 401.9 MB, free: 11.32 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: