Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.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.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008495, allocations: 96.7 kB / 15.74 MB, free: 424 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.001142/0.001143, allocations: 170.5 kB / 16.62 MB, free: 6.555 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.031/2.031, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.1162/0.1162, allocations: 12.61 MB / 283.7 MB, free: 8.672 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.001196/0.001196, allocations: 20 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1359, allocations: 50.39 MB / 394.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.002583/0.1385, allocations: 1.557 MB / 396.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1404, allocations: 0.9681 MB / 397.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1405, allocations: 4 kB / 397.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.141, allocations: 71.78 kB / 397.5 MB, free: 164 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1412, allocations: 71.72 kB / 397.6 MB, free: 92 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.1419, allocations: 199.6 kB / 397.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.1421, allocations: 151.6 kB / 397.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1422, allocations: 29.55 kB / 398 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1424, allocations: 71.62 kB / 398 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1425, allocations: 75.67 kB / 398.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1425, allocations: 4 kB / 398.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1426, allocations: 39.98 kB / 398.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.1427, allocations: 51.81 kB / 398.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.1428, allocations: 57.58 kB / 398.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1431, allocations: 179.8 kB / 398.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1431, allocations: 0 / 398.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1431, allocations: 4 kB / 398.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1431, allocations: 0 / 398.4 MB, free: 15.24 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007719/0.1439, allocations: 0.5 MB / 398.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1439, allocations: 8.031 kB / 398.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.144, allocations: 19.81 kB / 399 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1443, allocations: 281.5 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1444, allocations: 8 kB / 399.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1444, allocations: 15.98 kB / 399.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.1448, allocations: 178.7 kB / 399.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1448, allocations: 0 / 399.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1448, allocations: 3.953 kB / 399.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1448, allocations: 0 / 399.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.145, allocations: 59.91 kB / 399.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.1456, allocations: 397.5 kB / 399.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.1459, allocations: 141.2 kB / 400 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.146, allocations: 45.7 kB / 400.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.146, allocations: 0 / 400.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1463, allocations: 91.3 kB / 400.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1463, allocations: 4 kB / 400.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004312/0.1467, allocations: 181.2 kB / 400.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.1468, allocations: 140.5 kB / 400.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.1472, allocations: 317 kB / 400.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1472, allocations: 29.7 kB / 400.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1474, allocations: 136 kB / 400.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.1474, allocations: 23.66 kB / 401 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/0.1474, allocations: 4 kB / 401 MB, free: 12.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1476, allocations: 339.2 kB / 401.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.1477, allocations: 39.92 kB / 401.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1478, allocations: 108.6 kB / 401.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1479, allocations: 55.88 kB / 401.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1479, allocations: 0 / 401.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000301/0.1483, allocations: 165.2 kB / 401.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1483, allocations: 9.25 kB / 401.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1483, allocations: 160 / 401.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1483, allocations: 8 kB / 401.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1484, allocations: 23.92 kB / 401.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1485, allocations: 4 kB / 401.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.1485, allocations: 8 kB / 401.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1486, allocations: 4 kB / 401.7 MB, free: 11.63 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: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,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 (19): * Single equations (assignments): 19 * 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 0.0001626/0.1487, allocations: 175.9 kB / 401.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.1488, allocations: 69.41 kB / 402 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1489, allocations: 25.7 kB / 402 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1489, allocations: 8 kB / 402 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1489, allocations: 128 / 402 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1489, allocations: 3.938 kB / 402 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.1495, allocations: 482.2 kB / 402.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1495, allocations: 0 / 402.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.1496, allocations: 12 kB / 402.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1496, allocations: 0 / 402.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1496, allocations: 3.984 kB / 402.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1497, allocations: 7.984 kB / 402.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1497, allocations: 4 kB / 402.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.15, allocations: 248.1 kB / 402.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.15, allocations: 104.8 kB / 402.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1501, allocations: 8 kB / 402.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.1502, allocations: 7.984 kB / 402.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1502, allocations: 11.98 kB / 402.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1503, allocations: 8 kB / 402.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1505, allocations: 240.4 kB / 403.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1505, allocations: 0 / 403.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1508, allocations: 44.11 kB / 403.1 MB, free: 10.09 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.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009661/0.1518, allocations: 431.5 kB / 403.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.152, allocations: 104.1 kB / 403.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.152, allocations: 4.062 kB / 403.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.1521, allocations: 43.91 kB / 403.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1525, allocations: 53.09 kB / 403.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.1532, allocations: 407.3 kB / 404.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1535, allocations: 0.744 MB / 404.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.679e-05/0.1536, allocations: 25.67 kB / 404.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.1537, allocations: 31.61 kB / 405 MB, free: 8.207 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1537, allocations: 0 / 405 MB, free: 8.207 MB / 302.1 MB Notification: Performance of Templates: time 0.006032/0.1597, allocations: 2.688 MB / 407.7 MB, free: 5.516 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1) Environment - environmentSimulation: