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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009933/0.0009934, allocations: 173.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006905/0.0006908, allocations: 92.28 kB / 270.5 MB, free: 8.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06721/0.06721, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07109/0.07146, allocations: 49.97 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.002089/0.0736, allocations: 1.611 MB / 443.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.0752, allocations: 1.026 MB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.07537, allocations: 4 kB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.07572, allocations: 63.78 kB / 444.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.07595, allocations: 83.72 kB / 444.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.07656, allocations: 203.6 kB / 444.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.07676, allocations: 175.5 kB / 444.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.07691, allocations: 33.53 kB / 444.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.07703, allocations: 71.64 kB / 444.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.07714, allocations: 83.61 kB / 445 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.07717, allocations: 0 / 445 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.0773, allocations: 55.95 kB / 445.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.07738, allocations: 43.84 kB / 445.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.07745, allocations: 71.48 kB / 445.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.07764, allocations: 179.9 kB / 445.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.07766, allocations: 0 / 445.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.07766, allocations: 0 / 445.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.07767, allocations: 3.938 kB / 445.4 MB, free: 12.69 MB / 298.7 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.0005623/0.07824, allocations: 0.5001 MB / 445.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.07829, allocations: 12.03 kB / 445.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.07835, allocations: 16.75 kB / 445.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.07862, allocations: 290.7 kB / 446.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.07865, allocations: 12.38 kB / 446.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.07867, allocations: 12.06 kB / 446.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.07898, allocations: 178.6 kB / 446.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.07901, allocations: 3.938 kB / 446.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.07903, allocations: 12 kB / 446.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.07904, allocations: 0 / 446.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.07916, allocations: 43.97 kB / 446.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.07962, allocations: 401.4 kB / 446.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.07985, allocations: 137.3 kB / 447 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.07994, allocations: 45.7 kB / 447 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.07997, allocations: 3.984 kB / 447 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.08016, allocations: 95.3 kB / 447.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.08017, allocations: 0 / 447.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003502/0.08053, allocations: 181.3 kB / 447.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.08059, allocations: 136.5 kB / 447.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.08083, allocations: 324.9 kB / 447.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.08086, allocations: 29.7 kB / 447.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.08092, allocations: 136 kB / 447.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.08095, allocations: 31.59 kB / 447.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.08099, allocations: 25.7 kB / 447.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.08104, allocations: 334.8 kB / 448.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.08113, allocations: 35.98 kB / 448.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-05/0.08123, allocations: 116.5 kB / 448.4 MB, free: 9.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.0814, allocations: 121.9 kB / 448.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.08141, allocations: 0 / 448.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002413/0.08166, allocations: 169.5 kB / 448.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.08168, allocations: 4 kB / 448.7 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.08169, allocations: 4 kB / 448.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.08171, allocations: 0 / 448.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.08181, allocations: 32.05 kB / 448.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.08183, allocations: 8.312 kB / 448.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.08191, allocations: 11.98 kB / 448.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.08193, allocations: 16.14 kB / 448.8 MB, free: 8.93 MB / 298.7 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.0001061/0.08204, allocations: 160.8 kB / 448.9 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.08212, allocations: 73.34 kB / 449 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.08217, allocations: 21.72 kB / 449 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.08218, allocations: 3.984 kB / 449 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.0822, allocations: 7.938 kB / 449 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.0822, allocations: 0 / 449 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.08261, allocations: 470.3 kB / 449.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.08263, allocations: 0 / 449.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.08269, allocations: 15.92 kB / 449.5 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.08271, allocations: 7.938 kB / 449.5 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.08272, allocations: 4 kB / 449.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.08273, allocations: 0 / 449.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.08273, allocations: 4 kB / 449.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.08297, allocations: 252.3 kB / 449.8 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.08302, allocations: 96.83 kB / 449.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.08306, allocations: 11.94 kB / 449.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.08316, allocations: 7.984 kB / 449.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.08321, allocations: 11.98 kB / 449.9 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.08323, allocations: 4 kB / 449.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.08339, allocations: 240.4 kB / 450.1 MB, free: 7.457 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.0834, allocations: 3.938 kB / 450.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000278/0.08368, allocations: 39.94 kB / 450.2 MB, free: 7.414 MB / 298.7 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.0007778/0.08447, allocations: 430.1 kB / 450.6 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.08469, allocations: 103.8 kB / 450.7 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.0847, allocations: 0 / 450.7 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.08479, allocations: 35.98 kB / 450.7 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.08521, allocations: 64.36 kB / 450.8 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.08571, allocations: 468.2 kB / 451.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.08586, allocations: 0.7401 MB / 452 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.08592, allocations: 27.42 kB / 452 MB, free: 5.504 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.08593, allocations: 0 / 452 MB, free: 5.504 MB / 298.7 MB Notification: Performance of Templates: time 0.00383/0.08976, allocations: 3.064 MB / 455.1 MB, free: 2.434 MB / 298.7 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)