Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 178.9 kB / 16.45 MB, free: 5.684 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.547/1.547, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0007387/0.0007388, allocations: 86.3 kB / 270.9 MB, free: 8.352 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.07355/0.07355, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004023, allocations: 16 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08253/0.08295, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.00159/0.08457, allocations: 1.278 MB / 444.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.08534, allocations: 496 kB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.08546, allocations: 4 kB / 444.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.08553, allocations: 7.922 kB / 444.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.08561, allocations: 7.875 kB / 444.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.08593, allocations: 47.83 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.08603, allocations: 47.84 kB / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.08613, allocations: 15.98 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.08622, allocations: 19.94 kB / 444.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.08632, allocations: 35.83 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.08635, allocations: 4 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.08637, allocations: 0 / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.0864, allocations: 11.94 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.08644, allocations: 29.7 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.728e-05/0.08651, allocations: 31.92 kB / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08652, allocations: 0 / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08652, allocations: 0 / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.08653, allocations: 0 / 445 MB, free: 13.75 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000431/0.08697, allocations: 375.4 kB / 445.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.08702, allocations: 11.97 kB / 445.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.08706, allocations: 7.906 kB / 445.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.08722, allocations: 182.9 kB / 445.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.08724, allocations: 4 kB / 445.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.08726, allocations: 4 kB / 445.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.08754, allocations: 137 kB / 445.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.08756, allocations: 7.984 kB / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.08758, allocations: 0 / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.08759, allocations: 0 / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.08771, allocations: 35.92 kB / 445.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.08812, allocations: 305.6 kB / 446.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.08831, allocations: 158.2 kB / 446.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.08839, allocations: 41.8 kB / 446.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.08842, allocations: 4 kB / 446.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.08854, allocations: 71.33 kB / 446.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.08855, allocations: 0 / 446.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002877/0.08885, allocations: 121.6 kB / 446.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.0889, allocations: 81.05 kB / 446.6 MB, free: 12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.08897, allocations: 118 kB / 446.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.08899, allocations: 29.7 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.08903, allocations: 100.2 kB / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.08905, allocations: 7.906 kB / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.08906, allocations: 4 kB / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.08914, allocations: 330.8 kB / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.08921, allocations: 19.98 kB / 447.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.08928, allocations: 61.08 kB / 447.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/0.08935, allocations: 35.94 kB / 447.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.08936, allocations: 0 / 447.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001848/0.08955, allocations: 117.4 kB / 447.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.08958, allocations: 12.16 kB / 447.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.08959, allocations: 0 / 447.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.08961, allocations: 0 / 447.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.08969, allocations: 15.98 kB / 447.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.0897, allocations: 4 kB / 447.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.08977, allocations: 4 kB / 447.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.08978, allocations: 4 kB / 447.4 MB, free: 11.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.918e-05/0.08986, allocations: 130.4 kB / 447.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.08991, allocations: 61.77 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.08995, allocations: 7.969 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.08996, allocations: 0 / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.08997, allocations: 4 kB / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.08997, allocations: 3.984 kB / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.09024, allocations: 342.3 kB / 447.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.09026, allocations: 0 / 447.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.136e-05/0.09032, allocations: 20.36 kB / 448 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.09034, allocations: 0 / 448 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.09035, allocations: 0 / 448 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.09035, allocations: 4 kB / 448 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09036, allocations: 4 kB / 448 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.09054, allocations: 204.3 kB / 448.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.09058, allocations: 89.42 kB / 448.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.0906, allocations: 0 / 448.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.09068, allocations: 8 kB / 448.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.09072, allocations: 7.984 kB / 448.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.09073, allocations: 0 / 448.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.933e-05/0.09077, allocations: 99.14 kB / 448.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09077, allocations: 0 / 448.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000217/0.091, allocations: 19.95 kB / 448.4 MB, free: 10 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: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.072e-05/0.09108, allocations: 103.2 kB / 448.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.09126, allocations: 63.91 kB / 448.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09127, allocations: 0 / 448.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.09133, allocations: 27.92 kB / 448.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.09159, allocations: 20 kB / 448.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.09191, allocations: 228.1 kB / 448.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.09205, allocations: 0.6926 MB / 449.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.09209, allocations: 11.44 kB / 449.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.09209, allocations: 4 kB / 449.5 MB, free: 8.797 MB / 298.7 MB Notification: Performance of Templates: time 0.002128/0.09423, allocations: 0.9312 MB / 450.5 MB, free: 7.867 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)