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.001418/0.001418, allocations: 104.4 kB / 16.03 MB, free: 6.32 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.001921/0.001921, allocations: 195 kB / 16.95 MB, free: 6.145 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.932/1.932, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.1047/0.1047, allocations: 12.59 MB / 282.7 MB, free: 8.785 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.001679/0.001679, allocations: 91.86 kB / 343 MB, free: 21.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1295, allocations: 49.39 MB / 392.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.004021/0.1336, allocations: 1.958 MB / 394.3 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1353, allocations: 1.018 MB / 395.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1355, allocations: 4 kB / 395.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1359, allocations: 59.8 kB / 395.4 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1361, allocations: 83.72 kB / 395.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.1368, allocations: 207.6 kB / 395.7 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.137, allocations: 183.6 kB / 395.9 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1372, allocations: 33.55 kB / 395.9 MB, free: 48 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1373, allocations: 91.5 kB / 396 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1374, allocations: 87.67 kB / 396.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.1375, allocations: 12 kB / 396.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1376, allocations: 63.91 kB / 396.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.1377, allocations: 59.81 kB / 396.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.1378, allocations: 75.48 kB / 396.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1382, allocations: 239.5 kB / 396.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1382, allocations: 4 kB / 396.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1382, allocations: 0 / 396.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.1382, allocations: 0 / 396.5 MB, free: 15.43 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.0007224/0.1389, allocations: 0.5428 MB / 397.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.139, allocations: 12.03 kB / 397.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1391, allocations: 24.66 kB / 397.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1394, allocations: 274.8 kB / 397.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1395, allocations: 8.375 kB / 397.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1395, allocations: 16.12 kB / 397.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.1399, allocations: 178.5 kB / 397.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1399, allocations: 0 / 397.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1399, allocations: 7.984 kB / 397.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1399, allocations: 7.984 kB / 397.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1401, allocations: 47.97 kB / 397.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.1407, allocations: 405.4 kB / 398 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.141, allocations: 129.3 kB / 398.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.1411, allocations: 45.7 kB / 398.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1411, allocations: 4 kB / 398.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.1413, allocations: 91.3 kB / 398.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1413, allocations: 0 / 398.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004233/0.1417, allocations: 185.3 kB / 398.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.1418, allocations: 132.9 kB / 398.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.1422, allocations: 324.9 kB / 398.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1422, allocations: 29.7 kB / 398.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1424, allocations: 136 kB / 399.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1424, allocations: 35.52 kB / 399.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.1425, allocations: 49.7 kB / 399.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.1428, allocations: 326.8 kB / 399.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.1429, allocations: 39.97 kB / 399.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.1431, allocations: 116.5 kB / 399.6 MB, free: 12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1433, allocations: 117.9 kB / 399.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1433, allocations: 4 kB / 399.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002916/0.1436, allocations: 177.2 kB / 399.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1436, allocations: 4 kB / 399.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1436, allocations: 4 kB / 399.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1437, allocations: 4 kB / 399.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1438, allocations: 19.98 kB / 400 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1438, allocations: 7.875 kB / 400 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.1439, allocations: 8 kB / 400 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1439, allocations: 8 kB / 400 MB, free: 11.62 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 (triggeredBooleanSampler.y,$PRE.triggeredBooleanSampler.y,$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,ClockedSignalToTrigger.y3,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y,$whenCondition1,$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 (19): * Single equations (assignments): 19 * 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.000169/0.1441, allocations: 164.2 kB / 400.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/0.1442, allocations: 69.58 kB / 400.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.1443, allocations: 25.7 kB / 400.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1443, allocations: 8.031 kB / 400.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1443, allocations: 3.938 kB / 400.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1443, allocations: 0 / 400.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.1449, allocations: 470.3 kB / 400.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.145, allocations: 4 kB / 400.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.145, allocations: 8 kB / 400.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.145, allocations: 7.938 kB / 400.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1451, allocations: 7.984 kB / 400.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1451, allocations: 4 kB / 400.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1451, allocations: 3.938 kB / 400.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1454, allocations: 244.4 kB / 401 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1455, allocations: 104.8 kB / 401.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.1455, allocations: 15.94 kB / 401.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.1456, allocations: 4 kB / 401.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.1458, allocations: 11.98 kB / 401.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1458, allocations: 8.078 kB / 401.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.1461, allocations: 240.4 kB / 401.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.1461, allocations: 0 / 401.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.1464, allocations: 47.86 kB / 401.4 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 (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.0009765/0.1474, allocations: 420.7 kB / 401.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1477, allocations: 119.8 kB / 401.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1477, allocations: 0 / 401.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.463e-05/0.1478, allocations: 35.98 kB / 402 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1483, allocations: 65.16 kB / 402 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.149, allocations: 428.4 kB / 402.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1494, allocations: 0.7437 MB / 403.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.796e-05/0.1495, allocations: 29.67 kB / 403.2 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.1495, allocations: 31.42 kB / 403.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1495, allocations: 0 / 403.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of Templates: time 0.007271/0.1568, allocations: 2.91 MB / 406.2 MB, free: 5.262 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile (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)