Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01186/0.01186, allocations: 94.7 kB / 15.92 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.003875/0.003875, allocations: 198.3 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.886/1.886, allocations: 205.1 MB / 222.7 MB, free: 4.711 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.09401/0.09401, allocations: 12.59 MB / 282.6 MB, free: 8.855 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.001876/0.001876, allocations: 83.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1429, allocations: 49.4 MB / 392.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.004774/0.1478, allocations: 1.602 MB / 393.8 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1491, allocations: 491.7 kB / 394.3 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1493, allocations: 0 / 394.3 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.108e-05/0.1493, allocations: 7.922 kB / 394.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.1495, allocations: 3.938 kB / 394.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1499, allocations: 43.91 kB / 394.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1501, allocations: 63.78 kB / 394.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1503, allocations: 23.97 kB / 394.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.1503, allocations: 27.86 kB / 394.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1505, allocations: 27.84 kB / 394.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1505, allocations: 4 kB / 394.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.1505, allocations: 0 / 394.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.1506, allocations: 15.92 kB / 394.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.1506, allocations: 27.81 kB / 394.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1508, allocations: 63.86 kB / 394.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.1508, allocations: 8 kB / 394.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1508, allocations: 0 / 394.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1508, allocations: 0 / 394.6 MB, free: 1.289 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008407/0.1517, allocations: 375.3 kB / 394.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.1517, allocations: 12.03 kB / 395 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1518, allocations: 8.844 kB / 395 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1521, allocations: 192.1 kB / 395.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1521, allocations: 384 / 395.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1522, allocations: 16.38 kB / 395.2 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1525, allocations: 133.3 kB / 395.3 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1525, allocations: 0 / 395.3 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1526, allocations: 4 kB / 395.3 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1526, allocations: 4 kB / 395.3 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.1527, allocations: 23.92 kB / 395.3 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.1532, allocations: 297.6 kB / 395.6 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1534, allocations: 158.2 kB / 395.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.1535, allocations: 41.83 kB / 395.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1535, allocations: 0 / 395.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1538, allocations: 71.45 kB / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1538, allocations: 0 / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000255/0.154, allocations: 113.5 kB / 396 MB, free: 15.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.1541, allocations: 85.11 kB / 396.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.1542, allocations: 129.7 kB / 396.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1542, allocations: 29.7 kB / 396.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.1543, allocations: 88.28 kB / 396.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1543, allocations: 23.73 kB / 396.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1544, allocations: 29.72 kB / 396.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1545, allocations: 322.8 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.1546, allocations: 27.92 kB / 396.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1547, allocations: 69.98 kB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1548, allocations: 89.89 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1548, allocations: 0 / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001655/0.155, allocations: 117.5 kB / 397 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.155, allocations: 7.984 kB / 397 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.155, allocations: 4 kB / 397 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.155, allocations: 0 / 397 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.1551, allocations: 11.94 kB / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1551, allocations: 0 / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.1552, allocations: 16.2 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1552, allocations: 12 kB / 397 MB, free: 14.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (triggeredBooleanSampler.y,$PRE.triggeredBooleanSampler.y,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y3,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y,$whenCondition2,$CLKPRE.ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001103/0.1553, allocations: 117.8 kB / 397.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.1554, allocations: 61.53 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.1554, allocations: 8.375 kB / 397.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1554, allocations: 4 kB / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1555, allocations: 0 / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1555, allocations: 0 / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.1558, allocations: 346.5 kB / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1558, allocations: 0 / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.1558, allocations: 3.938 kB / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1559, allocations: 4 kB / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1559, allocations: 4 kB / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1559, allocations: 400 / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1559, allocations: 3.938 kB / 397.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1561, allocations: 204.5 kB / 397.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.1562, allocations: 85 kB / 397.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1562, allocations: 4 kB / 397.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/0.1563, allocations: 8 kB / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.1564, allocations: 19.84 kB / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1564, allocations: 0 / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.1564, allocations: 95.58 kB / 398 MB, free: 13.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1564, allocations: 0 / 398 MB, free: 13.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1567, allocations: 20 kB / 398 MB, free: 13.43 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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001208/0.1568, allocations: 99.25 kB / 398.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.157, allocations: 71.89 kB / 398.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.157, allocations: 3.938 kB / 398.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/0.1571, allocations: 19.98 kB / 398.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1575, allocations: 32.02 kB / 398.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.158, allocations: 196.8 kB / 398.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.1585, allocations: 0.6965 MB / 399.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.1585, allocations: 8.438 kB / 399.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.1586, allocations: 11.44 kB / 399.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1586, allocations: 4 kB / 399.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Templates: time 0.00402/0.1626, allocations: 0.8174 MB / 400 MB, free: 11.41 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)