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.001333/0.001333, allocations: 101.3 kB / 15.73 MB, free: 436 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.001897/0.001897, allocations: 173.4 kB / 16.61 MB, free: 6.422 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.789/1.789, allocations: 205.4 MB / 222.8 MB, free: 5.672 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.08852/0.08852, allocations: 12.61 MB / 283.7 MB, free: 8.699 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.000735/0.0007351, allocations: 20 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1144, allocations: 50.39 MB / 394.9 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.00271/0.1172, allocations: 1.546 MB / 396.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1191, allocations: 0.9446 MB / 397.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1193, allocations: 11.94 kB / 397.4 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.1197, allocations: 51.8 kB / 397.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.12, allocations: 83.75 kB / 397.5 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.1207, allocations: 187.5 kB / 397.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.121, allocations: 111.8 kB / 397.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1212, allocations: 37.52 kB / 397.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1213, allocations: 67.69 kB / 397.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1215, allocations: 63.75 kB / 398 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1215, allocations: 4 kB / 398 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1217, allocations: 47.84 kB / 398 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.1218, allocations: 43.89 kB / 398.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.1218, allocations: 57.56 kB / 398.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1221, allocations: 179.9 kB / 398.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1222, allocations: 0 / 398.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1222, allocations: 4 kB / 398.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1222, allocations: 3.938 kB / 398.3 MB, free: 15.36 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.001042/0.1232, allocations: 0.496 MB / 398.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1233, allocations: 15.97 kB / 398.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.1234, allocations: 19.8 kB / 398.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.1238, allocations: 281.5 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.1238, allocations: 8 kB / 399.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1239, allocations: 12 kB / 399.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.1243, allocations: 162.7 kB / 399.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1243, allocations: 3.938 kB / 399.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1243, allocations: 11.95 kB / 399.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1243, allocations: 4 kB / 399.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.1245, allocations: 43.97 kB / 399.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.1253, allocations: 409.4 kB / 399.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.1257, allocations: 125.4 kB / 399.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.1257, allocations: 4 kB / 399.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.126, allocations: 83.38 kB / 400 MB, free: 13.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.126, allocations: 0 / 400 MB, free: 13.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005508/0.1266, allocations: 189.2 kB / 400.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.1267, allocations: 136.5 kB / 400.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.1272, allocations: 321 kB / 400.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1273, allocations: 29.7 kB / 400.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1274, allocations: 132 kB / 400.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.1275, allocations: 31.8 kB / 400.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.1275, allocations: 0 / 400.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.1277, allocations: 342.8 kB / 401.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1278, allocations: 39.97 kB / 401.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.128, allocations: 112.5 kB / 401.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1281, allocations: 44.38 kB / 401.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1282, allocations: 0 / 401.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003611/0.1285, allocations: 177.2 kB / 401.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.1286, allocations: 11.94 kB / 401.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1286, allocations: 4.172 kB / 401.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.1286, allocations: 8.156 kB / 401.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1288, allocations: 19.98 kB / 401.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1288, allocations: 4 kB / 401.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1289, allocations: 8 kB / 401.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1289, allocations: 11.98 kB / 401.6 MB, free: 11.8 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.0002236/0.1292, allocations: 167.7 kB / 401.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1293, allocations: 65.41 kB / 401.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.1294, allocations: 29.64 kB / 401.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1294, allocations: 4 kB / 401.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.1294, allocations: 4 kB / 401.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.1294, allocations: 0 / 401.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.1301, allocations: 470.2 kB / 402.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1302, allocations: 0 / 402.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.1302, allocations: 12 kB / 402.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1303, allocations: 0 / 402.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1303, allocations: 7.984 kB / 402.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.1303, allocations: 4 kB / 402.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1303, allocations: 4 kB / 402.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.1308, allocations: 265.9 kB / 402.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1309, allocations: 104.8 kB / 402.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.1309, allocations: 4 kB / 402.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1311, allocations: 11.98 kB / 402.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.1312, allocations: 11.98 kB / 402.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.1312, allocations: 11.95 kB / 402.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.1315, allocations: 236.4 kB / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1315, allocations: 0 / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.132, allocations: 40 kB / 403 MB, free: 10.26 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.001246/0.1333, allocations: 431.7 kB / 403.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.1336, allocations: 108.1 kB / 403.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.1337, allocations: 4.062 kB / 403.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1338, allocations: 43.91 kB / 403.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.1343, allocations: 53.28 kB / 403.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.1351, allocations: 403.4 kB / 404 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.1355, allocations: 0.7557 MB / 404.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1356, allocations: 29.53 kB / 404.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.1357, allocations: 27.42 kB / 404.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1357, allocations: 0 / 404.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of Templates: time 0.007758/0.1435, allocations: 2.684 MB / 407.5 MB, free: 5.68 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: