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.001496/0.001496, allocations: 102.3 kB / 16.45 MB, free: 6.496 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.001581/0.001581, allocations: 189.4 kB / 17.39 MB, free: 5.688 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.702/1.702, 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.09006/0.09006, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.002018/0.002018, allocations: 85.23 kB / 394.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1418, allocations: 49.41 MB / 443.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.004123/0.146, allocations: 1.544 MB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1473, allocations: 499.6 kB / 445.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1475, allocations: 0 / 445.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.1476, allocations: 11.86 kB / 445.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1477, allocations: 7.922 kB / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1481, allocations: 47.89 kB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1483, allocations: 67.78 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1485, allocations: 27.91 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.1485, allocations: 27.86 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1487, allocations: 31.84 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1487, allocations: 4 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.1487, allocations: 8 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.1488, allocations: 15.92 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.1488, allocations: 35.78 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.149, allocations: 59.8 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.149, allocations: 0 / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.149, allocations: 0 / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1491, allocations: 3.938 kB / 445.9 MB, free: 14.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006532/0.1497, allocations: 379.3 kB / 446.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1498, allocations: 8.031 kB / 446.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1498, allocations: 12.83 kB / 446.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.1503, allocations: 188.2 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1503, allocations: 4.375 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1504, allocations: 8.375 kB / 446.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1507, allocations: 137.3 kB / 446.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1507, allocations: 0 / 446.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1507, allocations: 0 / 446.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1507, allocations: 0 / 446.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.1508, allocations: 35.91 kB / 446.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.1514, allocations: 301.6 kB / 447 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1516, allocations: 154.2 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1517, allocations: 37.83 kB / 447.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1517, allocations: 3.938 kB / 447.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.1519, allocations: 75.33 kB / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1519, allocations: 0 / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002811/0.1522, allocations: 117.6 kB / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.1522, allocations: 85.11 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1524, allocations: 113.8 kB / 447.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1524, allocations: 29.64 kB / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1524, allocations: 92.36 kB / 447.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1525, allocations: 19.75 kB / 447.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.1526, allocations: 41.7 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1527, allocations: 318.8 kB / 448 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.1528, allocations: 19.98 kB / 448.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.1528, allocations: 62 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.153, allocations: 93.88 kB / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.153, allocations: 4 kB / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001879/0.1532, allocations: 117.8 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1532, allocations: 4 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1532, allocations: 4 kB / 448.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1532, allocations: 4.031 kB / 448.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.1533, allocations: 7.938 kB / 448.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1533, allocations: 7.984 kB / 448.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.1534, allocations: 11.91 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1534, allocations: 4 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: 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.0001088/0.1535, allocations: 133.7 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.1536, allocations: 53.72 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1536, allocations: 8.375 kB / 448.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1537, allocations: 4 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1537, allocations: 0 / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1537, allocations: 3.984 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.1542, allocations: 350.4 kB / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1542, allocations: 0 / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.1542, allocations: 0 / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1542, allocations: 384 / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1542, allocations: 16.05 kB / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1542, allocations: 0 / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1542, allocations: 3.938 kB / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1544, allocations: 212.1 kB / 449.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.1545, allocations: 81.02 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1545, allocations: 8 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.1546, allocations: 7.984 kB / 449.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1547, allocations: 11.94 kB / 449.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1547, allocations: 3.984 kB / 449.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.68e-05/0.1548, allocations: 87.28 kB / 449.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1548, allocations: 0 / 449.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.155, allocations: 16 kB / 449.4 MB, free: 10.25 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: 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.0001276/0.1552, allocations: 103.2 kB / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1553, allocations: 63.86 kB / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1553, allocations: 8.312 kB / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.835e-05/0.1554, allocations: 24.38 kB / 449.6 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.0003545/0.1558, allocations: 24.23 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.0004093/0.1562, allocations: 186.8 kB / 449.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1565, allocations: 0.6924 MB / 450.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.1566, allocations: 12.42 kB / 450.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1567, allocations: 11.44 kB / 450.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1567, allocations: 0 / 450.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of Templates: time 0.003944/0.1606, allocations: 0.9162 MB / 451.4 MB, free: 8.152 MB / 334.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)