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.001678/0.001678, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002094/0.002094, allocations: 209 kB / 24.48 MB, free: 3.941 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.002144/0.002144, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.268, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003497/0.2715, allocations: 2.136 MB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2726, allocations: 0.5887 MB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.2728, allocations: 0 / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.2729, allocations: 31.61 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.2732, allocations: 79.41 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.2735, allocations: 71.84 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.2738, allocations: 275 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.274, allocations: 59.86 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2742, allocations: 127.4 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2744, allocations: 143.2 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.2744, allocations: 20 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.2745, allocations: 28 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.2746, allocations: 59.7 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2747, allocations: 115.2 kB / 436 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.275, allocations: 262.3 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.275, allocations: 0 / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.275, allocations: 0 / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.275, allocations: 0 / 436.3 MB, free: 2.723 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.001196/0.2762, allocations: 0.5476 MB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2763, allocations: 8.031 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.2763, allocations: 36.7 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.2768, allocations: 262.8 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2768, allocations: 16.41 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.2768, allocations: 12 kB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.2775, allocations: 373.8 kB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2776, allocations: 0 / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.2776, allocations: 15.98 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2776, allocations: 4 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.2778, allocations: 91.89 kB / 437.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.2785, allocations: 425.3 kB / 438.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.2793, allocations: 307.7 kB / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.2796, allocations: 134.6 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.2796, allocations: 4 kB / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2796, allocations: 38.56 kB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.2796, allocations: 3.938 kB / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002434/0.2821, allocations: 1.148 MB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.2822, allocations: 147.3 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.2826, allocations: 324.6 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2826, allocations: 29.7 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2827, allocations: 149.1 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.2828, allocations: 51.66 kB / 440.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.2829, allocations: 66.12 kB / 440.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.283, allocations: 354.7 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.2832, allocations: 64.84 kB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.2835, allocations: 308.7 kB / 441.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.284, allocations: 391.2 kB / 441.5 MB, free: 13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.284, allocations: 8 kB / 441.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006509/0.2846, allocations: 396.8 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2847, allocations: 8 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2847, allocations: 8.875 kB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.2847, allocations: 16.17 kB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.285, allocations: 91.84 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.285, allocations: 15.94 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2852, allocations: 23.94 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.2853, allocations: 27.98 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (49): * Single equations (assignments): 49 * 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.000196/0.2855, allocations: 165.6 kB / 442.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005074/0.286, allocations: 289.9 kB / 442.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006719/0.2867, allocations: 372.5 kB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2867, allocations: 8 kB / 442.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2867, allocations: 4 kB / 442.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2867, allocations: 3.984 kB / 442.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.287, allocations: 201.2 kB / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.287, allocations: 0 / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.2876, allocations: 115.8 kB / 443.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2876, allocations: 7.938 kB / 443.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.2877, allocations: 12 kB / 443.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2877, allocations: 0 / 443.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.2877, allocations: 4 kB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.2887, allocations: 0.7029 MB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.2888, allocations: 35.73 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.2888, allocations: 15.94 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.2891, allocations: 16 kB / 444 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.2892, allocations: 3.984 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.2892, allocations: 12 kB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.2895, allocations: 247 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2895, allocations: 0 / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004562/0.2899, allocations: 60 kB / 444.4 MB, free: 10.09 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 (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 0.0001302/0.2901, allocations: 111.2 kB / 444.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.2906, allocations: 281.1 kB / 444.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2906, allocations: 4.25 kB / 444.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.2907, allocations: 31.92 kB / 444.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.2914, allocations: 184.7 kB / 445 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2928, allocations: 0.7289 MB / 445.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.293, allocations: 197.6 kB / 445.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.401e-05/0.293, allocations: 31.27 kB / 445.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.2931, allocations: 35.44 kB / 445.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2931, allocations: 4 kB / 445.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of Templates: time 0.008923/0.3021, allocations: 4.21 MB / 450.2 MB, free: 4.258 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 -s gbode -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: 4.647948836995056]