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.001363/0.001363, allocations: 168.2 kB / 16.8 MB, free: 5.027 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.721/1.721, allocations: 205.4 MB / 223 MB, free: 9.027 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.0009623/0.0009624, allocations: 89.09 kB / 271.3 MB, free: 8.258 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.0946/0.0946, allocations: 12.6 MB / 332.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004572, allocations: 27.92 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 50.35 MB / 443.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.4981, allocations: 78.48 MB / 0.5098 GB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4984, allocations: 61.42 kB / 0.5099 GB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005692/0.5041, allocations: 1.289 MB / 0.5112 GB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5042, allocations: 3.938 kB / 0.5112 GB, free: 12.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5042, allocations: 0 / 0.5112 GB, free: 12.77 MB / 330.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.0004814/0.5047, allocations: 366 kB / 0.5115 GB, free: 12.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.5048, allocations: 7.656 kB / 0.5115 GB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.5048, allocations: 12.75 kB / 0.5115 GB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.5051, allocations: 179.3 kB / 0.5117 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.5051, allocations: 4.156 kB / 0.5117 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.5051, allocations: 7.281 kB / 0.5117 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.5056, allocations: 137.4 kB / 0.5118 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5056, allocations: 192 / 0.5118 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.5056, allocations: 11.02 kB / 0.5119 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.5057, allocations: 3.844 kB / 0.5119 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.5059, allocations: 33.45 kB / 0.5119 GB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.5065, allocations: 300.4 kB / 0.5122 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5068, allocations: 158.6 kB / 0.5123 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.507, allocations: 34.36 kB / 0.5124 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.507, allocations: 10.94 kB / 0.5124 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.5072, allocations: 70.22 kB / 0.5124 GB, free: 11.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.375e-06/0.5073, allocations: 0 / 0.5124 GB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004761/0.5078, allocations: 118.6 kB / 0.5126 GB, free: 11.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.5078, allocations: 84.14 kB / 0.5126 GB, free: 11.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.021e-05/0.5079, allocations: 116.5 kB / 0.5127 GB, free: 11.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.508, allocations: 25.7 kB / 0.5128 GB, free: 11.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.508, allocations: 91.84 kB / 0.5129 GB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.5081, allocations: 19.48 kB / 0.5129 GB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5081, allocations: 3.875 kB / 0.5129 GB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.5082, allocations: 318.8 kB / 0.5132 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.5083, allocations: 30.11 kB / 0.5132 GB, free: 10.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.5084, allocations: 65.5 kB / 0.5133 GB, free: 10.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.5087, allocations: 87.2 kB / 0.5134 GB, free: 10.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5087, allocations: 3.875 kB / 0.5134 GB, free: 10.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003782/0.5091, allocations: 115.5 kB / 0.5135 GB, free: 10.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.5092, allocations: 7.719 kB / 0.5135 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5092, allocations: 0 / 0.5135 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.5092, allocations: 3.906 kB / 0.5135 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.5094, allocations: 14.38 kB / 0.5135 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.5094, allocations: 3.984 kB / 0.5135 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.5096, allocations: 12.5 kB / 0.5135 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.5096, allocations: 7.516 kB / 0.5135 GB, free: 10.65 MB / 330.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 0.0001619/0.5098, allocations: 132.8 kB / 0.5136 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5099, allocations: 51.44 kB / 0.5137 GB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.51, allocations: 7.594 kB / 0.5137 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.51, allocations: 0 / 0.5137 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.51, allocations: 3.781 kB / 0.5137 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.51, allocations: 0 / 0.5137 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.5106, allocations: 351.5 kB / 0.514 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.5106, allocations: 0 / 0.514 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.5107, allocations: 11.64 kB / 0.514 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5107, allocations: 0 / 0.514 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5107, allocations: 7.375 kB / 0.5141 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5108, allocations: 3.938 kB / 0.5141 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5108, allocations: 3.938 kB / 0.5141 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.5112, allocations: 200.1 kB / 0.5143 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.5112, allocations: 88.91 kB / 0.5143 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.5113, allocations: 0 / 0.5143 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5114, allocations: 7.656 kB / 0.5143 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.5115, allocations: 11.8 kB / 0.5144 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.5116, allocations: 3.938 kB / 0.5144 GB, free: 9.859 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.5116, allocations: 91.06 kB / 0.5144 GB, free: 9.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5116, allocations: 4 kB / 0.5145 GB, free: 9.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000457/0.5121, allocations: 19.08 kB / 0.5145 GB, free: 9.773 MB / 330.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 0.0001654/0.5123, allocations: 95.69 kB / 0.5146 GB, free: 9.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.5126, allocations: 69.31 kB / 0.5146 GB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5126, allocations: 0 / 0.5146 GB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.5128, allocations: 27.45 kB / 0.5147 GB, free: 9.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.5133, allocations: 20.3 kB / 0.5147 GB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.5137, allocations: 195.6 kB / 0.5149 GB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.5139, allocations: 0.696 MB / 0.5155 GB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.514, allocations: 12.03 kB / 0.5156 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.514, allocations: 15.06 kB / 0.5156 GB, free: 8.766 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5141, allocations: 0 / 0.5156 GB, free: 8.766 MB / 330.7 MB Notification: Performance of Templates: time 0.004082/0.5182, allocations: 0.5706 MB / 0.5161 GB, free: 8.484 MB / 330.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)