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.006722/0.006723, allocations: 92.95 kB / 15.91 MB, free: 6.273 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.0012/0.0012, allocations: 198.1 kB / 16.83 MB, free: 6.188 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.788/1.788, allocations: 205.1 MB / 222.7 MB, free: 4.742 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.09314/0.09314, allocations: 12.59 MB / 282.6 MB, free: 8.863 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.001676/0.001676, allocations: 87.89 kB / 342.8 MB, free: 21.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1527, allocations: 49.4 MB / 392.2 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.003422/0.1562, allocations: 1.645 MB / 393.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008581/0.157, allocations: 0.4958 MB / 394.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.1572, allocations: 11.88 kB / 394.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.1572, allocations: 0 / 394.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.1573, allocations: 7.922 kB / 394.3 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1576, allocations: 47.89 kB / 394.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1578, allocations: 51.86 kB / 394.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1579, allocations: 27.91 kB / 394.5 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.158, allocations: 23.92 kB / 394.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.1581, allocations: 27.86 kB / 394.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1581, allocations: 4 kB / 394.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.1581, allocations: 4 kB / 394.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.1582, allocations: 7.969 kB / 394.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.1582, allocations: 35.8 kB / 394.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1584, allocations: 52.08 kB / 394.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1584, allocations: 0 / 394.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1584, allocations: 0 / 394.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1584, allocations: 0 / 394.6 MB, free: 1.266 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.0006264/0.159, allocations: 375.2 kB / 395 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1591, allocations: 8.031 kB / 395 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.1591, allocations: 4.938 kB / 395 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1594, allocations: 188.2 kB / 395.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1594, allocations: 8.375 kB / 395.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1594, allocations: 4.375 kB / 395.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.1598, allocations: 141.3 kB / 395.3 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1598, allocations: 0 / 395.3 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1598, allocations: 0 / 395.3 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1598, allocations: 8 kB / 395.3 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.16, allocations: 35.91 kB / 395.4 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.1605, allocations: 301.5 kB / 395.7 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1608, allocations: 162.2 kB / 395.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.1609, allocations: 41.78 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1609, allocations: 3.938 kB / 395.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1611, allocations: 63.39 kB / 395.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1612, allocations: 0 / 395.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003353/0.1615, allocations: 117.5 kB / 396 MB, free: 15.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.1616, allocations: 85.05 kB / 396.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1617, allocations: 121.8 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1617, allocations: 25.7 kB / 396.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1618, allocations: 88.14 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1618, allocations: 19.8 kB / 396.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1619, allocations: 25.72 kB / 396.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.162, allocations: 326.8 kB / 396.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.1621, allocations: 19.98 kB / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.1622, allocations: 57.14 kB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1623, allocations: 85.08 kB / 396.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1623, allocations: 0 / 396.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001914/0.1625, allocations: 113.6 kB / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1626, allocations: 8.031 kB / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1626, allocations: 4 kB / 397 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1626, allocations: 3.938 kB / 397 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1627, allocations: 19.98 kB / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1627, allocations: 0 / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.1628, allocations: 4 kB / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1628, allocations: 7.938 kB / 397 MB, free: 14.53 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 (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.0001148/0.1629, allocations: 126.4 kB / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.163, allocations: 53.59 kB / 397.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.163, allocations: 11.97 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1631, allocations: 4 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1631, allocations: 320 / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1631, allocations: 3.938 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.1634, allocations: 342.5 kB / 397.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1635, allocations: 0 / 397.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.1635, allocations: 11.98 kB / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1635, allocations: 0 / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1635, allocations: 4 kB / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.1636, allocations: 7.938 kB / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1636, allocations: 0 / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1638, allocations: 200.6 kB / 397.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.1639, allocations: 81.02 kB / 397.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1639, allocations: 4.094 kB / 397.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.164, allocations: 11.88 kB / 397.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.164, allocations: 11.98 kB / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.164, allocations: 0 / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.1641, allocations: 91.27 kB / 398 MB, free: 13.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 0 / 398 MB, free: 13.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1644, allocations: 12 kB / 398 MB, free: 13.46 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 (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.0001382/0.1645, allocations: 107.4 kB / 398.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1647, allocations: 64.09 kB / 398.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1648, allocations: 0 / 398.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.1648, allocations: 27.92 kB / 398.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1652, allocations: 20 kB / 398.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.1656, allocations: 202 kB / 398.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.166, allocations: 0.6926 MB / 399.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.7e-05/0.166, allocations: 7.984 kB / 399.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1661, allocations: 11.44 kB / 399.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1661, allocations: 0 / 399.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Templates: time 0.003348/0.1694, allocations: 0.6103 MB / 399.7 MB, free: 11.67 MB / 302.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)