Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestLogMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean") translateModel(ClaRa.Basics.Functions.TestCases.TestLogMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 172.6 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240.1 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 95.62 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8937/0.8937, allocations: 122.9 MB / 465.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.09464/0.09464, allocations: 20.3 MB / 0.549 GB, free: 19.3 MB / 378.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004918, allocations: 20 kB / 0.6406 GB, free: 5.848 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5096, allocations: 81.83 MB / 0.7205 GB, free: 39.91 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.6908, allocations: 119.5 MB / 0.8373 GB, free: 6.219 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6911, allocations: 76.64 kB / 0.8373 GB, free: 6.145 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.04376/0.7349, allocations: 14.73 MB / 0.8517 GB, free: 7.414 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7349, allocations: 4 kB / 0.8517 GB, free: 7.41 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.735, allocations: 4 kB / 0.8517 GB, free: 7.406 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001416/0.7364, allocations: 0.6423 MB / 0.8524 GB, free: 6.699 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.7364, allocations: 12.03 kB / 0.8524 GB, free: 6.688 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.7366, allocations: 24.66 kB / 0.8524 GB, free: 6.664 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.737, allocations: 267.4 kB / 0.8527 GB, free: 6.363 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.7371, allocations: 12.38 kB / 0.8527 GB, free: 6.352 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.7371, allocations: 19.22 kB / 0.8527 GB, free: 6.336 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.738, allocations: 356.6 kB / 0.853 GB, free: 5.973 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.7381, allocations: 3.984 kB / 0.853 GB, free: 5.969 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.7381, allocations: 0 / 0.853 GB, free: 5.969 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.7381, allocations: 8 kB / 0.853 GB, free: 5.961 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.7393, allocations: 463.5 kB / 0.8535 GB, free: 5.508 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.7405, allocations: 0.686 MB / 0.8542 GB, free: 4.762 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.7414, allocations: 339.9 kB / 0.8545 GB, free: 4.398 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.742, allocations: 254.7 kB / 0.8547 GB, free: 4.141 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.7423, allocations: 97.09 kB / 0.8548 GB, free: 4.027 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008343/0.7432, allocations: 389 kB / 0.8552 GB, free: 3.613 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/0.7432, allocations: 0 / 0.8552 GB, free: 3.613 MB / 0.5574 GB Notification: Performance of matching and sorting (n=32): time 0.002186/0.7454, allocations: 0.8153 MB / 0.856 GB, free: 2.781 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/0.7455, allocations: 166.7 kB / 0.8561 GB, free: 2.582 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.7457, allocations: 215.6 kB / 0.8563 GB, free: 2.359 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.7458, allocations: 37.69 kB / 0.8564 GB, free: 2.316 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.7459, allocations: 120.6 kB / 0.8565 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/0.746, allocations: 90.78 kB / 0.8566 GB, free: 2.105 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.746, allocations: 8 kB / 0.8566 GB, free: 2.098 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7462, allocations: 334.8 kB / 0.8569 GB, free: 1.762 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/0.7467, allocations: 191.8 kB / 0.8571 GB, free: 1.574 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.7474, allocations: 239.1 kB / 0.8573 GB, free: 1.328 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.7486, allocations: 0.4996 MB / 0.8578 GB, free: 0.793 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7486, allocations: 0 / 0.8578 GB, free: 0.793 MB / 0.5574 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001627/0.7502, allocations: 0.6369 MB / 0.8584 GB, free: 140 kB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.7503, allocations: 67.39 kB / 0.8585 GB, free: 60 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7503, allocations: 4 kB / 0.8585 GB, free: 56 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.7504, allocations: 0 / 0.8585 GB, free: 56 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.7508, allocations: 83.95 kB / 0.8586 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.7508, allocations: 4 kB / 0.8586 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.7512, allocations: 52.77 kB / 0.8586 GB, free: 15.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.7513, allocations: 19.98 kB / 0.8587 GB, free: 15.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,$PRE.rampT_in.nextEvent,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,$PRE.rampT_out2.nextEvent,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0002433/0.7515, allocations: 222.7 kB / 0.8589 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.7516, allocations: 27.72 kB / 0.8589 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.7532, allocations: 0.6854 MB / 0.8596 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7532, allocations: 4 kB / 0.8596 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7532, allocations: 0 / 0.8596 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.7532, allocations: 4 kB / 0.8596 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.7537, allocations: 344.9 kB / 0.8599 GB, free: 14.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.7537, allocations: 4 kB / 0.8599 GB, free: 14.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.7541, allocations: 79.86 kB / 0.86 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.7541, allocations: 9.016 kB / 0.86 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.7542, allocations: 19.97 kB / 0.86 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7542, allocations: 0 / 0.86 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.7542, allocations: 8 kB / 0.86 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.7559, allocations: 0.7586 MB / 0.8608 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.7562, allocations: 156.6 kB / 0.8609 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.7562, allocations: 15.98 kB / 0.8609 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.7566, allocations: 35.97 kB / 0.861 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7567, allocations: 28.19 kB / 0.861 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.7567, allocations: 27.97 kB / 0.861 GB, free: 13.35 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001877/0.7569, allocations: 164.6 kB / 0.8612 GB, free: 13.19 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-07/0.7569, allocations: 1.125 kB / 0.8612 GB, free: 13.19 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005816/0.7575, allocations: 119.9 kB / 0.8613 GB, free: 13.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse3,$cse4,$whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 12 (rampT_out2.nextEvent,rampT_out2.last,rampT_out2.nextEventScaled,rampT_out2.b,rampT_out2.a,$whenCondition1,rampT_in.nextEvent,rampT_in.last,rampT_in.nextEventScaled,rampT_in.b,rampT_in.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.000476/0.758, allocations: 185 kB / 0.8615 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.7594, allocations: 0.6179 MB / 0.8621 GB, free: 12.24 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7595, allocations: 0 / 0.8621 GB, free: 12.24 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007484/0.7602, allocations: 428.3 kB / 0.8625 GB, free: 11.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.7606, allocations: 31.3 kB / 0.8625 GB, free: 11.77 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7617, allocations: 0.5756 MB / 0.8631 GB, free: 11.17 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.7621, allocations: 0.7486 MB / 0.8638 GB, free: 10.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.7623, allocations: 41.53 kB / 0.8638 GB, free: 10.35 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.7624, allocations: 39.39 kB / 0.8639 GB, free: 10.31 MB / 0.573 GB Notification: Performance of SimCode: time 4.81e-07/0.7624, allocations: 0 / 0.8639 GB, free: 10.31 MB / 0.573 GB Notification: Performance of Templates: time 0.008628/0.7711, allocations: 3.753 MB / 0.8675 GB, free: 6.59 MB / 0.573 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1)