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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 100.9 kB / 16.02 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 200.1 kB / 16.95 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08131/0.08131, allocations: 12.59 MB / 282.7 MB, free: 15.64 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 83.88 kB / 343 MB, free: 3.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.343, allocations: 49.39 MB / 392.4 MB, free: 49.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.003117/0.3462, allocations: 1.642 MB / 394 MB, free: 48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.347, allocations: 0.4969 MB / 394.5 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.3471, allocations: 1.25 kB / 394.5 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.3471, allocations: 10.64 kB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.871e-05/0.3472, allocations: 5.203 kB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3475, allocations: 34.8 kB / 394.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3476, allocations: 66.14 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3477, allocations: 21.45 kB / 394.6 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.3478, allocations: 25.69 kB / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.3479, allocations: 28.11 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3479, allocations: 4.281 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.3479, allocations: 8.938 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.3479, allocations: 20.3 kB / 394.7 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.348, allocations: 30.8 kB / 394.8 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3481, allocations: 55.16 kB / 394.8 MB, free: 47.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3481, allocations: 0 / 394.8 MB, free: 47.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3481, allocations: 0 / 394.8 MB, free: 47.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3481, allocations: 0 / 394.8 MB, free: 47.49 MB / 318.1 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.0004148/0.3486, allocations: 375.9 kB / 395.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3486, allocations: 9.219 kB / 395.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3486, allocations: 9.344 kB / 395.2 MB, free: 47.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3488, allocations: 184.1 kB / 395.4 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3488, allocations: 7.656 kB / 395.4 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3488, allocations: 5 kB / 395.4 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3491, allocations: 136.3 kB / 395.5 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3491, allocations: 3.938 kB / 395.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3491, allocations: 5.312 kB / 395.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.3492, allocations: 1.859 kB / 395.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3493, allocations: 35.92 kB / 395.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3497, allocations: 296.4 kB / 395.9 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3499, allocations: 159.5 kB / 396 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.35, allocations: 37.02 kB / 396 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.35, allocations: 2.766 kB / 396 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.3501, allocations: 73.48 kB / 396.1 MB, free: 46.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.3501, allocations: 0 / 396.1 MB, free: 46.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002871/0.3504, allocations: 116.2 kB / 396.2 MB, free: 46.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3505, allocations: 80.8 kB / 396.3 MB, free: 46.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.3506, allocations: 114.8 kB / 396.4 MB, free: 45.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3506, allocations: 26.89 kB / 396.4 MB, free: 45.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.3506, allocations: 87.86 kB / 396.5 MB, free: 45.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3506, allocations: 24.23 kB / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.3507, allocations: 28.77 kB / 396.6 MB, free: 45.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.3507, allocations: 327.8 kB / 396.9 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.3508, allocations: 20.48 kB / 396.9 MB, free: 45.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.3509, allocations: 56.81 kB / 397 MB, free: 45.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.351, allocations: 91.12 kB / 397.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.351, allocations: 384 / 397.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001733/0.3512, allocations: 112.7 kB / 397.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3512, allocations: 6.109 kB / 397.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3512, allocations: 1.031 kB / 397.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3512, allocations: 6.469 kB / 397.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.3513, allocations: 16.7 kB / 397.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3513, allocations: 9.703 kB / 397.2 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.3514, allocations: 4.953 kB / 397.2 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3514, allocations: 8.875 kB / 397.2 MB, free: 45.27 MB / 318.1 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 (triggeredSampler.y,$PRE.triggeredSampler.y,ClockedRealToTrigger.y3,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y,$whenCondition1,$CLKPRE.ClockedRealToTrigger.y2,ClockedRealToTrigger.y2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.3514, allocations: 124.6 kB / 397.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.3515, allocations: 50.28 kB / 397.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.3515, allocations: 11.48 kB / 397.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3515, allocations: 1.125 kB / 397.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3516, allocations: 1.156 kB / 397.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3516, allocations: 1.781 kB / 397.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3518, allocations: 339.2 kB / 397.8 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3518, allocations: 5.312 kB / 397.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.3519, allocations: 16.17 kB / 397.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3519, allocations: 0 / 397.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3519, allocations: 0.6562 kB / 397.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3519, allocations: 8.969 kB / 397.8 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3519, allocations: 1.891 kB / 397.8 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3521, allocations: 197.5 kB / 398 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.3522, allocations: 92.19 kB / 398.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3522, allocations: 2.859 kB / 398.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.3523, allocations: 7.625 kB / 398.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3523, allocations: 15.42 kB / 398.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3523, allocations: 2.797 kB / 398.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.3523, allocations: 89.72 kB / 398.2 MB, free: 44.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3524, allocations: 1.719 kB / 398.2 MB, free: 44.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.3526, allocations: 9.766 kB / 398.2 MB, free: 44.4 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.318e-05/0.3527, allocations: 99.11 kB / 398.3 MB, free: 44.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3529, allocations: 71.61 kB / 398.4 MB, free: 44.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3529, allocations: 5.438 kB / 398.4 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.3529, allocations: 19.14 kB / 398.4 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3532, allocations: 25.88 kB / 398.4 MB, free: 44.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.3536, allocations: 200.3 kB / 398.6 MB, free: 44.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3537, allocations: 0.6942 MB / 399.3 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.3537, allocations: 10.11 kB / 399.3 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3538, allocations: 11.89 kB / 399.3 MB, free: 43.38 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3538, allocations: 1.5 kB / 399.3 MB, free: 43.38 MB / 318.1 MB Notification: Performance of Templates: time 0.002638/0.3564, allocations: 0.6568 MB / 400 MB, free: 43.08 MB / 318.1 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)