Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 55.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2759, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003932/0.2798, allocations: 2.253 MB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2811, allocations: 0.6237 MB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2812, allocations: 4 kB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.2814, allocations: 31.59 kB / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.2817, allocations: 79.41 kB / 435.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.282, allocations: 71.84 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.2823, allocations: 279 kB / 435.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2825, allocations: 52.92 kB / 435.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.2828, allocations: 131.4 kB / 435.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.283, allocations: 139.2 kB / 436 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.283, allocations: 24 kB / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.294e-05/0.2831, allocations: 23.94 kB / 436.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.2831, allocations: 67.69 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2833, allocations: 135.1 kB / 436.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2836, allocations: 255.9 kB / 436.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2836, allocations: 0 / 436.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2836, allocations: 0 / 436.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2837, allocations: 0 / 436.5 MB, free: 2.762 MB / 334.1 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.0012/0.2849, allocations: 0.5554 MB / 437.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2849, allocations: 8.031 kB / 437.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.285, allocations: 36.7 kB / 437.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.2854, allocations: 254.8 kB / 437.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2854, allocations: 12.41 kB / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.2855, allocations: 23.92 kB / 437.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.2861, allocations: 377.8 kB / 437.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2861, allocations: 0 / 437.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.2862, allocations: 4 kB / 437.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2862, allocations: 4 kB / 437.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.2864, allocations: 95.94 kB / 437.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.2872, allocations: 0.4966 MB / 438.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.2879, allocations: 313.3 kB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.2881, allocations: 127.2 kB / 438.8 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.2881, allocations: 8 kB / 438.8 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.2882, allocations: 42.55 kB / 438.9 MB, free: 272 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.2882, allocations: 0 / 438.9 MB, free: 272 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002387/0.2906, allocations: 1.182 MB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.2907, allocations: 147.2 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.2911, allocations: 324.6 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.2911, allocations: 37.7 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2913, allocations: 145.1 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.2913, allocations: 51.67 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.2914, allocations: 66.14 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2916, allocations: 350.8 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2917, allocations: 68.83 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.2921, allocations: 318.7 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.2926, allocations: 413 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2926, allocations: 7.938 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006491/0.2932, allocations: 417.4 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2933, allocations: 8 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.2933, allocations: 8 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.2933, allocations: 12 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.2936, allocations: 95.72 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.2936, allocations: 19.92 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.2938, allocations: 23.95 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2938, allocations: 24 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (51): * Single equations (assignments): 51 * 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 0.0001998/0.294, allocations: 177.8 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.2945, allocations: 296.6 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/0.2952, allocations: 379.4 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2952, allocations: 8 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2952, allocations: 0 / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2952, allocations: 0 / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.2957, allocations: 304.4 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2957, allocations: 4 kB / 443.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.2962, allocations: 119.9 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2962, allocations: 7.938 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.2962, allocations: 12.17 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2963, allocations: 0 / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2963, allocations: 4.062 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2973, allocations: 0.7226 MB / 444.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.2974, allocations: 43.72 kB / 444.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.2974, allocations: 15.98 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2977, allocations: 8 kB / 444.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.2977, allocations: 11.98 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2977, allocations: 8 kB / 444.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.298, allocations: 247 kB / 444.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.298, allocations: 4.062 kB / 444.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004479/0.2985, allocations: 60 kB / 444.9 MB, free: 9.762 MB / 350.1 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 (45): * Single equations (assignments): 45 * 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 0.0001362/0.2986, allocations: 119.1 kB / 445 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005699/0.2992, allocations: 284.9 kB / 445.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2992, allocations: 0 / 445.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.2992, allocations: 27.92 kB / 445.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/0.3, allocations: 201.4 kB / 445.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3014, allocations: 0.77 MB / 446.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.3019, allocations: 0.8074 MB / 447.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.302, allocations: 31.44 kB / 447.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.302, allocations: 0 / 447.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of Templates: time 0.007045/0.309, allocations: 3.971 MB / 451.1 MB, free: 3.496 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.943871438037604]