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.0007199/0.0007199, allocations: 97.72 kB / 16.06 MB, free: 40 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.0007838/0.0007838, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.207/1.207, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.06014/0.06014, allocations: 12.61 MB / 284 MB, free: 8.586 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.0006181/0.0006181, allocations: 16 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07128/0.07191, allocations: 50.38 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.001912/0.07386, allocations: 1.592 MB / 397.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.07522, allocations: 0.9987 MB / 398.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.0753, allocations: 4 kB / 398.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.07556, allocations: 71.77 kB / 398.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.07576, allocations: 83.73 kB / 398.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.07637, allocations: 203.6 kB / 398.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.07658, allocations: 163.6 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.07669, allocations: 29.55 kB / 398.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.07679, allocations: 75.58 kB / 398.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.0769, allocations: 79.67 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.07693, allocations: 4 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.07705, allocations: 55.89 kB / 398.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.07713, allocations: 43.84 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.07723, allocations: 101.2 kB / 399 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.07748, allocations: 231.5 kB / 399.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.07749, allocations: 0 / 399.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0775, allocations: 0 / 399.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.07751, allocations: 0 / 399.3 MB, free: 14.69 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.0005783/0.07809, allocations: 0.5001 MB / 399.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.07813, allocations: 8.031 kB / 399.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.07819, allocations: 24.73 kB / 399.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.07848, allocations: 286.6 kB / 400.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.07851, allocations: 4.375 kB / 400.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.07853, allocations: 16.12 kB / 400.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.07886, allocations: 182.6 kB / 400.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.07888, allocations: 3.938 kB / 400.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.0789, allocations: 7.922 kB / 400.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.07891, allocations: 4 kB / 400.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.07903, allocations: 47.97 kB / 400.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.07954, allocations: 409.4 kB / 400.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.07979, allocations: 133.3 kB / 400.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.07989, allocations: 53.69 kB / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.07992, allocations: 4 kB / 400.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.0801, allocations: 87.36 kB / 401 MB, free: 12.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.08011, allocations: 0 / 401 MB, free: 12.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003752/0.08049, allocations: 185.2 kB / 401.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.08058, allocations: 140.5 kB / 401.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.08088, allocations: 320.9 kB / 401.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.08091, allocations: 33.7 kB / 401.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.081, allocations: 136 kB / 401.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.08104, allocations: 31.64 kB / 401.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.08107, allocations: 17.72 kB / 401.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.0812, allocations: 338.8 kB / 402.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.08129, allocations: 43.92 kB / 402.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.08141, allocations: 116.5 kB / 402.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.0816, allocations: 113.9 kB / 402.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.08161, allocations: 0 / 402.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002702/0.08189, allocations: 173.2 kB / 402.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.08191, allocations: 4.156 kB / 402.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.08192, allocations: 8 kB / 402.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.08194, allocations: 0 / 402.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.08204, allocations: 23.98 kB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.08206, allocations: 7.875 kB / 402.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.08215, allocations: 12.36 kB / 402.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.08216, allocations: 8 kB / 402.7 MB, free: 10.93 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.0001358/0.08231, allocations: 160.1 kB / 402.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.08239, allocations: 73.34 kB / 402.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.08245, allocations: 37.64 kB / 402.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.08245, allocations: 0 / 402.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.08246, allocations: 7.938 kB / 402.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.08247, allocations: 0 / 402.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.08297, allocations: 466.3 kB / 403.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.08298, allocations: 0 / 403.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.08305, allocations: 11.98 kB / 403.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.08306, allocations: 7.938 kB / 403.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.08308, allocations: 0 / 403.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.08308, allocations: 4 kB / 403.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.08309, allocations: 4 kB / 403.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.08337, allocations: 252.5 kB / 403.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.08344, allocations: 104.8 kB / 403.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.08348, allocations: 15.92 kB / 403.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.08357, allocations: 4 kB / 403.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.08363, allocations: 15.98 kB / 403.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.08365, allocations: 7.984 kB / 403.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.08386, allocations: 236.5 kB / 404.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08386, allocations: 0 / 404.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000286/0.08416, allocations: 43.92 kB / 404.1 MB, free: 9.395 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.0008087/0.08497, allocations: 427.5 kB / 404.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.08521, allocations: 108.1 kB / 404.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.08522, allocations: 0 / 404.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.08531, allocations: 43.92 kB / 404.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.08571, allocations: 53.09 kB / 404.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.08628, allocations: 435.7 kB / 405.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.08655, allocations: 0.7401 MB / 405.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.08664, allocations: 29.53 kB / 405.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.08669, allocations: 27.38 kB / 405.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.0867, allocations: 0 / 405.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of Templates: time 0.005604/0.09231, allocations: 2.778 MB / 408.7 MB, free: 4.711 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: