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.001648/0.001648, allocations: 181.6 kB / 13.23 MB, free: 2.086 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.755/1.755, allocations: 205.2 MB / 219 MB, free: 9.203 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.0007965/0.0007963, allocations: 86.62 kB / 267.1 MB, free: 9.273 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.08105/0.08105, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.231e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09613, allocations: 50.38 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.464, allocations: 78.36 MB / 0.5027 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.4643, allocations: 60.41 kB / 0.5027 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003115/0.4674, allocations: 1.274 MB / 0.504 GB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4675, allocations: 0 / 0.504 GB, free: 11.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4675, allocations: 4.828 kB / 0.504 GB, free: 11.51 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.0002878/0.4678, allocations: 353.2 kB / 0.5043 GB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4678, allocations: 7.688 kB / 0.5043 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.4679, allocations: 7.781 kB / 0.5043 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.468, allocations: 183.7 kB / 0.5045 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.468, allocations: 15.73 kB / 0.5045 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.4681, allocations: 7.844 kB / 0.5045 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.4683, allocations: 120.1 kB / 0.5046 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4683, allocations: 0 / 0.5046 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4684, allocations: 5.734 kB / 0.5046 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4684, allocations: 3.938 kB / 0.5046 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.4684, allocations: 28.31 kB / 0.5047 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.4688, allocations: 302.8 kB / 0.505 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.469, allocations: 153.4 kB / 0.5051 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.469, allocations: 31.97 kB / 0.5051 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4691, allocations: 3.844 kB / 0.5051 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.565e-05/0.4692, allocations: 55.2 kB / 0.5052 GB, free: 10.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.4692, allocations: 0 / 0.5052 GB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001669/0.4693, allocations: 88.03 kB / 0.5053 GB, free: 10.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.4694, allocations: 81.11 kB / 0.5054 GB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.4695, allocations: 110.1 kB / 0.5055 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.4695, allocations: 29.42 kB / 0.5055 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.4695, allocations: 89.91 kB / 0.5056 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.4695, allocations: 17.66 kB / 0.5056 GB, free: 10.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.4696, allocations: 3.25 kB / 0.5056 GB, free: 10.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.4696, allocations: 329 kB / 0.5059 GB, free: 9.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.4697, allocations: 10.91 kB / 0.5059 GB, free: 9.688 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.4697, allocations: 61.59 kB / 0.506 GB, free: 9.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.4698, allocations: 17.61 kB / 0.506 GB, free: 9.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4698, allocations: 0 / 0.506 GB, free: 9.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001221/0.4699, allocations: 104.7 kB / 0.5061 GB, free: 9.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4699, allocations: 7.312 kB / 0.5061 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4699, allocations: 0 / 0.5061 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4699, allocations: 3.812 kB / 0.5061 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.47, allocations: 22.88 kB / 0.5061 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.47, allocations: 0 / 0.5061 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.4701, allocations: 7.531 kB / 0.5061 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4701, allocations: 3.875 kB / 0.5061 GB, free: 9.586 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 () * 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 5.686e-05/0.4702, allocations: 123 kB / 0.5063 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.4702, allocations: 54 kB / 0.5063 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.4703, allocations: 14.28 kB / 0.5063 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4703, allocations: 0 / 0.5063 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4703, allocations: 0 / 0.5063 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4703, allocations: 3.844 kB / 0.5063 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.4705, allocations: 338.6 kB / 0.5066 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4705, allocations: 0 / 0.5066 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.4706, allocations: 17.64 kB / 0.5067 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4706, allocations: 0 / 0.5067 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.4706, allocations: 3.125 kB / 0.5067 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4706, allocations: 3.844 kB / 0.5067 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4706, allocations: 0 / 0.5067 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.4708, allocations: 194.8 kB / 0.5069 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.4708, allocations: 92.52 kB / 0.5069 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.4708, allocations: 3.984 kB / 0.5069 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.4709, allocations: 6.531 kB / 0.507 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.471, allocations: 10.12 kB / 0.507 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.471, allocations: 2.625 kB / 0.507 GB, free: 8.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.471, allocations: 89.55 kB / 0.507 GB, free: 8.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.471, allocations: 0 / 0.507 GB, free: 8.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.4712, allocations: 17.72 kB / 0.5071 GB, free: 8.762 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) * 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 7.856e-05/0.4713, allocations: 110.5 kB / 0.5072 GB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.4714, allocations: 54.03 kB / 0.5072 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.4715, allocations: 0 / 0.5072 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.4715, allocations: 14.97 kB / 0.5072 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.4717, allocations: 23.09 kB / 0.5073 GB, free: 8.652 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.4719, allocations: 104.9 kB / 0.5074 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.472, allocations: 0.6967 MB / 0.508 GB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.222e-05/0.4721, allocations: 10.69 kB / 0.508 GB, free: 7.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.4721, allocations: 18.56 kB / 0.5081 GB, free: 7.852 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4721, allocations: 0 / 0.5081 GB, free: 7.852 MB / 330.7 MB Notification: Performance of Templates: time 0.002263/0.4744, allocations: 0.5679 MB / 0.5086 GB, free: 7.781 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)