Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 145.7 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8749/0.8749, allocations: 173.4 MB / 201.5 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] 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) 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.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.389e-05, allocations: 5.406 kB / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002249/0.002263, allocations: 2.223 MB / 270.7 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007909/0.003054, allocations: 0.5902 MB / 271.3 MB, free: 6.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.003157, allocations: 4.688 kB / 271.3 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.00326, allocations: 31.59 kB / 271.4 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.003463, allocations: 80.98 kB / 271.4 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.003658, allocations: 79.7 kB / 271.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.003874, allocations: 287.6 kB / 271.8 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.00397, allocations: 47.11 kB / 271.8 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.004122, allocations: 164.7 kB / 272 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.00423, allocations: 111.5 kB / 272.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.00426, allocations: 20 kB / 272.1 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.004279, allocations: 20.66 kB / 272.1 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.004328, allocations: 61.78 kB / 272.2 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.004385, allocations: 83.62 kB / 272.3 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004549, allocations: 163.2 kB / 272.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.00455, allocations: 0 / 272.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004551, allocations: 0 / 272.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004555, allocations: 3.938 kB / 272.5 MB, free: 5.82 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005344/0.005089, allocations: 0.5116 MB / 273 MB, free: 5.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.005116, allocations: 12.03 kB / 273 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.005159, allocations: 32.91 kB / 273 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.005353, allocations: 222.7 kB / 273.2 MB, free: 5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.005363, allocations: 8.656 kB / 273.2 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.005387, allocations: 16.38 kB / 273.2 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.00567, allocations: 298 kB / 273.5 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.005677, allocations: 3.938 kB / 273.5 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.005686, allocations: 4 kB / 273.5 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.00569, allocations: 4 kB / 273.6 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.005741, allocations: 31.98 kB / 273.6 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.006028, allocations: 297.1 kB / 273.9 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.006298, allocations: 211.5 kB / 274.1 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.006367, allocations: 80.73 kB / 274.2 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.006386, allocations: 8 kB / 274.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.006409, allocations: 34.56 kB / 274.2 MB, free: 3.941 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 4.759e-06/0.006414, allocations: 0 / 274.2 MB, free: 3.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001143/0.007557, allocations: 0.8284 MB / 275 MB, free: 3.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.007628, allocations: 143.4 kB / 275.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.007775, allocations: 271 kB / 275.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.007792, allocations: 29.7 kB / 275.5 MB, free: 2.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.007832, allocations: 117.7 kB / 275.6 MB, free: 2.461 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.007863, allocations: 43.67 kB / 275.6 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.007897, allocations: 33.69 kB / 275.7 MB, free: 2.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.007973, allocations: 346.7 kB / 276 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.007992, allocations: 12 kB / 276 MB, free: 2.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.008034, allocations: 74.8 kB / 276.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.008105, allocations: 93.53 kB / 276.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008106, allocations: 4 kB / 276.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001069/0.008213, allocations: 113.5 kB / 276.3 MB, free: 1.684 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.008225, allocations: 8 kB / 276.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.008228, allocations: 0 / 276.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.00824, allocations: 4 kB / 276.3 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.077e-05/0.008311, allocations: 31.98 kB / 276.3 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.008317, allocations: 7.938 kB / 276.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.008374, allocations: 8 kB / 276.3 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.00838, allocations: 8 kB / 276.3 MB, free: 1.617 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 7.936e-05/0.008459, allocations: 132.9 kB / 276.5 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.00863, allocations: 165.3 kB / 276.6 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.008843, allocations: 224.3 kB / 276.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.008846, allocations: 4 kB / 276.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.008849, allocations: 3.938 kB / 276.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008853, allocations: 0 / 276.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.009018, allocations: 149.7 kB / 277 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.00902, allocations: 0 / 277 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.009407, allocations: 155.8 kB / 277.2 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00941, allocations: 0 / 277.2 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.009425, allocations: 8 kB / 277.2 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009427, allocations: 0 / 277.2 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009429, allocations: 4 kB / 277.2 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.00958, allocations: 262.1 kB / 277.4 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.009613, allocations: 31.77 kB / 277.5 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.009645, allocations: 20.02 kB / 277.5 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.009742, allocations: 12 kB / 277.5 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.009766, allocations: 11.92 kB / 277.5 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.009776, allocations: 4 kB / 277.5 MB, free: 392 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.748e-05/0.009854, allocations: 116.6 kB / 277.6 MB, free: 276 kB / 250.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.009854, allocations: 0 / 277.6 MB, free: 276 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.01003, allocations: 48 kB / 277.7 MB, free: 228 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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 Backend phase and start with SimCode phase: time 6.808e-05/0.0101, allocations: 88.55 kB / 277.8 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.01023, allocations: 113.3 kB / 277.9 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.01024, allocations: 4 kB / 277.9 MB, free: 12 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.01027, allocations: 24.72 kB / 277.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01062, allocations: 143.6 kB / 278 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.01142, allocations: 0.673 MB / 278.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.867e-05/0.01149, allocations: 121.1 kB / 278.8 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.01154, allocations: 26.95 kB / 278.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01164, allocations: 91.36 kB / 278.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01164, allocations: 0 / 278.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Templates: time 0.005166/0.01681, allocations: 3.718 MB / 282.7 MB, free: 11.24 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.427898256108165]