Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001457/0.001457, allocations: 179.2 kB / 8.406 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 214.1 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 91.94 kB / 262.2 MB, free: 1.609 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.1016/0.1016, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.765e-05, allocations: 0 / 378.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3076, allocations: 50.37 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4459, allocations: 77.71 MB / 0.4951 GB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.4462, allocations: 55.98 kB / 0.4951 GB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005402/0.4516, allocations: 1.266 MB / 0.4964 GB, free: 3.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4517, allocations: 4 kB / 0.4964 GB, free: 3.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4517, allocations: 4 kB / 0.4964 GB, free: 3.285 MB / 346.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.0005026/0.4522, allocations: 354.3 kB / 0.4967 GB, free: 2.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4523, allocations: 12.03 kB / 0.4967 GB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.4523, allocations: 7.906 kB / 0.4967 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4526, allocations: 182.9 kB / 0.4969 GB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4526, allocations: 3.953 kB / 0.4969 GB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.4526, allocations: 4 kB / 0.4969 GB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001347/0.4528, allocations: 32 kB / 0.497 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.4531, allocations: 113 kB / 0.4971 GB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4531, allocations: 0 / 0.4971 GB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4532, allocations: 0 / 0.4971 GB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4532, allocations: 4 kB / 0.4971 GB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.4537, allocations: 266.2 kB / 0.4973 GB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.454, allocations: 150.3 kB / 0.4975 GB, free: 2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.4541, allocations: 33.72 kB / 0.4975 GB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.4542, allocations: 4.062 kB / 0.4975 GB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.4543, allocations: 59.52 kB / 0.4976 GB, free: 1.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.4543, allocations: 4 kB / 0.4976 GB, free: 1.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002524/0.4546, allocations: 73.59 kB / 0.4976 GB, free: 1.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.4547, allocations: 77.11 kB / 0.4977 GB, free: 1.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4548, allocations: 121 kB / 0.4978 GB, free: 1.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4549, allocations: 25.7 kB / 0.4979 GB, free: 1.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.455, allocations: 158.7 kB / 0.498 GB, free: 1.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.455, allocations: 11.84 kB / 0.498 GB, free: 1.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.455, allocations: 0 / 0.498 GB, free: 1.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4552, allocations: 318.8 kB / 0.4983 GB, free: 1.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.4552, allocations: 19.94 kB / 0.4983 GB, free: 1.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.4553, allocations: 53.16 kB / 0.4984 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/0.4554, allocations: 28 kB / 0.4984 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4554, allocations: 0 / 0.4984 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002457/0.4557, allocations: 93.61 kB / 0.4985 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.4557, allocations: 12 kB / 0.4985 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4557, allocations: 0 / 0.4985 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4558, allocations: 4 kB / 0.4985 GB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.4559, allocations: 8 kB / 0.4985 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.456, allocations: 15.91 kB / 0.4985 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.528e-05/0.456, allocations: 4 kB / 0.4985 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.4561, allocations: 4 kB / 0.4985 GB, free: 0.8008 MB / 346.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 () * 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.0001077/0.4562, allocations: 108.9 kB / 0.4987 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.4563, allocations: 53.59 kB / 0.4987 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.4564, allocations: 8.406 kB / 0.4987 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4564, allocations: 4 kB / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4564, allocations: 0 / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4564, allocations: 0 / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.4568, allocations: 299 kB / 0.499 GB, free: 288 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.4568, allocations: 4 kB / 0.499 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.4569, allocations: 8 kB / 0.499 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.457, allocations: 4 kB / 0.499 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.457, allocations: 3.984 kB / 0.499 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.457, allocations: 0 / 0.499 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.457, allocations: 4 kB / 0.499 GB, free: 264 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.4573, allocations: 194.3 kB / 0.4992 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.4574, allocations: 85.09 kB / 0.4993 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4574, allocations: 7.938 kB / 0.4993 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.4575, allocations: 4 kB / 0.4993 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.4576, allocations: 4 kB / 0.4993 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.4576, allocations: 12.14 kB / 0.4993 GB, free: 15.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.177e-05/0.4577, allocations: 83.28 kB / 0.4994 GB, free: 15.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4577, allocations: 3.938 kB / 0.4994 GB, free: 15.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.4581, allocations: 12 kB / 0.4994 GB, free: 15.82 MB / 362.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) * 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.0001341/0.4582, allocations: 99.17 kB / 0.4995 GB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4584, allocations: 59.92 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4584, allocations: 0 / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.4585, allocations: 15.94 kB / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4588, allocations: 23.36 kB / 0.4996 GB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.4592, allocations: 127 kB / 0.4997 GB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4595, allocations: 0.6963 MB / 0.5004 GB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.4596, allocations: 19.73 kB / 0.5004 GB, free: 14.72 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4596, allocations: 0 / 0.5004 GB, free: 14.72 MB / 362.7 MB Notification: Performance of Templates: time 0.00318/0.4628, allocations: 0.9066 MB / 0.5013 GB, free: 13.81 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)