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.001351/0.001351, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001404/0.001404, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.4/1.4, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|filter.x.2.|filter.x.3.|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.1.|filter.x.2.|filter.x.3.|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 0.002075/0.002075, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2733, allocations: 52.13 MB / 420.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003339/0.2766, allocations: 2.255 MB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.2776, allocations: 0.6081 MB / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.775e-05/0.2777, allocations: 0 / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2778, allocations: 27.61 kB / 423.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.2781, allocations: 79.41 kB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2783, allocations: 75.78 kB / 423.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.2787, allocations: 275.1 kB / 424.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2788, allocations: 48.95 kB / 424.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.279, allocations: 127.4 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.2791, allocations: 139.2 kB / 424.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.2792, allocations: 20 kB / 424.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.418e-05/0.2792, allocations: 24 kB / 424.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.2793, allocations: 67.62 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2794, allocations: 127.1 kB / 424.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.2797, allocations: 263.9 kB / 425 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2797, allocations: 0 / 425 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2797, allocations: 0 / 425 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2797, allocations: 4 kB / 425 MB, free: 11.01 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.0011/0.2808, allocations: 0.6268 MB / 425.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2808, allocations: 12.03 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.2809, allocations: 36.75 kB / 425.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.2813, allocations: 316.6 kB / 425.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2813, allocations: 16.41 kB / 426 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.2813, allocations: 16 kB / 426 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.282, allocations: 363.6 kB / 426.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.282, allocations: 0 / 426.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.282, allocations: 4 kB / 426.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.282, allocations: 4 kB / 426.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.2822, allocations: 91.89 kB / 426.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.2829, allocations: 0.5326 MB / 427 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.2836, allocations: 303.4 kB / 427.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.2838, allocations: 126.6 kB / 427.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.2838, allocations: 15.84 kB / 427.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2839, allocations: 42.5 kB / 427.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.296e-06/0.2839, allocations: 3.984 kB / 427.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00232/0.2862, allocations: 1.342 MB / 428.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.2863, allocations: 139.4 kB / 428.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.2867, allocations: 328.6 kB / 429.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2867, allocations: 29.7 kB / 429.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2868, allocations: 157 kB / 429.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.2869, allocations: 47.72 kB / 429.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.287, allocations: 70.08 kB / 429.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2871, allocations: 346.8 kB / 429.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2872, allocations: 68.83 kB / 429.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.2876, allocations: 322.7 kB / 430.3 MB, free: 5.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.288, allocations: 416.9 kB / 430.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.288, allocations: 11.94 kB / 430.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006117/0.2887, allocations: 413.3 kB / 431.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2887, allocations: 8 kB / 431.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2887, allocations: 8 kB / 431.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.2887, allocations: 12 kB / 431.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.289, allocations: 91.84 kB / 431.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.289, allocations: 19.92 kB / 431.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2892, allocations: 20 kB / 431.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.2892, allocations: 20.31 kB / 431.3 MB, free: 4.105 MB / 334.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.0001705/0.2894, allocations: 177.8 kB / 431.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.2899, allocations: 301.5 kB / 431.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006295/0.2905, allocations: 375.5 kB / 432.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2905, allocations: 8 kB / 432.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2905, allocations: 0 / 432.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2905, allocations: 0 / 432.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.2909, allocations: 329.3 kB / 432.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2909, allocations: 7.984 kB / 432.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/0.2915, allocations: 119.9 kB / 432.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2915, allocations: 4 kB / 432.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.2915, allocations: 11.98 kB / 432.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2915, allocations: 0 / 432.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2915, allocations: 0 / 432.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2925, allocations: 0.7226 MB / 433.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.2926, allocations: 112.9 kB / 433.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.2927, allocations: 15.98 kB / 433.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.2929, allocations: 12 kB / 433.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.293, allocations: 7.984 kB / 433.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.293, allocations: 12 kB / 433.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.2932, allocations: 243.1 kB / 433.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2932, allocations: 8 kB / 433.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.2937, allocations: 60 kB / 433.7 MB, free: 1.504 MB / 334.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.0001251/0.2938, allocations: 115.1 kB / 433.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005145/0.2943, allocations: 293.1 kB / 434.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2943, allocations: 0 / 434.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.2944, allocations: 31.92 kB / 434.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.2951, allocations: 207.4 kB / 434.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2964, allocations: 0.7531 MB / 435.1 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.2968, allocations: 0.8034 MB / 435.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.61e-05/0.2969, allocations: 39.27 kB / 436 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.297, allocations: 27.44 kB / 436 MB, free: 15.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.297, allocations: 0 / 436 MB, free: 15.19 MB / 350.1 MB Notification: Performance of Templates: time 0.007714/0.3047, allocations: 3.839 MB / 439.8 MB, free: 11.36 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.531851662322879]