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.001258/0.001257, allocations: 95.69 kB / 15.74 MB, free: 416 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.001755/0.001755, allocations: 174.2 kB / 16.62 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 222.8 MB, free: 5.344 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.1092/0.1092, allocations: 12.59 MB / 283.7 MB, free: 8.551 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.001033/0.001034, allocations: 23.98 kB / 344.5 MB, free: 21.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1341, allocations: 50.38 MB / 394.9 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001894/0.136, allocations: 1.251 MB / 396.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007845/0.1368, allocations: 480 kB / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.1369, allocations: 0 / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.1369, allocations: 7.938 kB / 396.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.137, allocations: 7.922 kB / 396.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1373, allocations: 47.83 kB / 396.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.1374, allocations: 55.84 kB / 396.7 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.1375, allocations: 19.98 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.1375, allocations: 19.88 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1376, allocations: 19.91 kB / 396.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1376, allocations: 4 kB / 396.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.1376, allocations: 4 kB / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.1376, allocations: 11.92 kB / 396.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1377, allocations: 41.62 kB / 396.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.083e-05/0.1377, allocations: 40.2 kB / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1377, allocations: 0 / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1378, allocations: 0 / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1378, allocations: 4 kB / 396.9 MB, free: 0.7461 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.0004633/0.1382, allocations: 371 kB / 397.3 MB, free: 344 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1383, allocations: 12.03 kB / 397.3 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.1383, allocations: 7.906 kB / 397.3 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1385, allocations: 183 kB / 397.5 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1385, allocations: 11.92 kB / 397.5 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1385, allocations: 12 kB / 397.5 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.1388, allocations: 136.8 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1388, allocations: 0 / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1388, allocations: 3.984 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1388, allocations: 0 / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.949e-05/0.1389, allocations: 27.98 kB / 397.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.1393, allocations: 293.6 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1395, allocations: 154.3 kB / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.1396, allocations: 37.84 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1396, allocations: 3.984 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.1397, allocations: 71.39 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1397, allocations: 0 / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002045/0.14, allocations: 117.5 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.14, allocations: 77.11 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.1401, allocations: 133.6 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1402, allocations: 33.69 kB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.1402, allocations: 84.38 kB / 398.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1402, allocations: 19.8 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.1402, allocations: 0 / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1404, allocations: 322.8 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.1404, allocations: 23.98 kB / 399 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.1405, allocations: 73.88 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.1406, allocations: 24 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1406, allocations: 0 / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001614/0.1407, allocations: 117.8 kB / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1408, allocations: 9.25 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1408, allocations: 0 / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.1408, allocations: 4 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.1408, allocations: 15.92 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1408, allocations: 4 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.1409, allocations: 11.92 kB / 399.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1409, allocations: 11.95 kB / 399.3 MB, free: 14.09 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 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.141, allocations: 133.6 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.1411, allocations: 49.61 kB / 399.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1412, allocations: 16.36 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1412, allocations: 4 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1412, allocations: 0 / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1412, allocations: 0 / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.1416, allocations: 346.7 kB / 399.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1416, allocations: 4 kB / 399.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.1416, allocations: 3.984 kB / 399.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1416, allocations: 4 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1416, allocations: 4 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1416, allocations: 0 / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1416, allocations: 0 / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1418, allocations: 200.3 kB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.1419, allocations: 88.95 kB / 400.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1419, allocations: 4.312 kB / 400.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.142, allocations: 15.98 kB / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.1421, allocations: 11.98 kB / 400.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1421, allocations: 0 / 400.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.1421, allocations: 99.16 kB / 400.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1422, allocations: 0 / 400.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1424, allocations: 20 kB / 400.2 MB, free: 13 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 (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.0001158/0.1425, allocations: 91.25 kB / 400.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1427, allocations: 71.86 kB / 400.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1427, allocations: 0 / 400.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.1427, allocations: 23.98 kB / 400.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1431, allocations: 32.19 kB / 400.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.1434, allocations: 190.2 kB / 400.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1438, allocations: 0.6927 MB / 401.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.1438, allocations: 12.41 kB / 401.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1439, allocations: 11.44 kB / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1439, allocations: 0 / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Templates: time 0.003139/0.147, allocations: 0.7738 MB / 402.1 MB, free: 11.04 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: