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.00105/0.00105, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005125/0.005125, allocations: 159.7 kB / 24.69 MB, free: 8.898 MB / 18.57 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 0.8824/0.8824, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 2.224e-06/2.224e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.493e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003564/0.003599, allocations: 2.143 MB / 328 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.004792, allocations: 0.5847 MB / 328.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.004959, allocations: 4 kB / 328.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.005094, allocations: 31.61 kB / 328.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.005399, allocations: 79.39 kB / 328.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.005701, allocations: 67.8 kB / 328.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.006088, allocations: 294.7 kB / 329 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.006247, allocations: 56.98 kB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.006588, allocations: 167.4 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.006759, allocations: 103.6 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.0068, allocations: 24 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.006831, allocations: 24 kB / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.006919, allocations: 67.62 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.007003, allocations: 79.69 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.007339, allocations: 262.9 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.007342, allocations: 0 / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007344, allocations: 0 / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.007354, allocations: 0 / 329.8 MB, free: 11.45 MB / 298.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.001061/0.008415, allocations: 0.5506 MB / 330.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.008457, allocations: 8.031 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.008545, allocations: 36.7 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.008972, allocations: 262 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.00899, allocations: 8.656 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.009034, allocations: 16.38 kB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.00969, allocations: 374.8 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.009703, allocations: 7.938 kB / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.009721, allocations: 4 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.009729, allocations: 4 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.009907, allocations: 91.89 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.01038, allocations: 433.2 kB / 331.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.01081, allocations: 312.7 kB / 331.9 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.01094, allocations: 130.7 kB / 332 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.01097, allocations: 8 kB / 332 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.01098, allocations: 34.5 kB / 332 MB, free: 9.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.01098, allocations: 0 / 332 MB, free: 9.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.00142/0.0124, allocations: 1.152 MB / 333.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.01249, allocations: 134.7 kB / 333.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.01273, allocations: 328.6 kB / 333.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.01275, allocations: 33.7 kB / 333.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.01281, allocations: 141.1 kB / 333.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.01285, allocations: 43.67 kB / 333.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.01289, allocations: 33.72 kB / 333.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.01298, allocations: 338.8 kB / 334.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.01303, allocations: 31.98 kB / 334.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.0131, allocations: 102.9 kB / 334.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.01322, allocations: 126.7 kB / 334.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01322, allocations: 0 / 334.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001926/0.01341, allocations: 189.3 kB / 334.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01343, allocations: 8 kB / 334.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.01344, allocations: 3.984 kB / 334.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.01345, allocations: 8 kB / 334.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.01353, allocations: 35.98 kB / 334.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01353, allocations: 3.938 kB / 334.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.0136, allocations: 16.55 kB / 334.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.01361, allocations: 12.22 kB / 334.7 MB, free: 6.176 MB / 298.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 0.0001111/0.01372, allocations: 148.5 kB / 334.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.01401, allocations: 286.7 kB / 335.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.01439, allocations: 356.4 kB / 335.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01439, allocations: 11.94 kB / 335.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.0144, allocations: 3.938 kB / 335.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.0144, allocations: 3.984 kB / 335.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.0146, allocations: 193.2 kB / 335.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.0146, allocations: 0 / 335.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.01489, allocations: 123.8 kB / 335.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.0149, allocations: 4 kB / 335.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01491, allocations: 15.98 kB / 335.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01491, allocations: 0 / 335.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01492, allocations: 7.938 kB / 335.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.01552, allocations: 0.6913 MB / 336.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.01556, allocations: 39.69 kB / 336.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.0156, allocations: 12 kB / 336.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.01572, allocations: 23.98 kB / 336.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.01575, allocations: 3.938 kB / 336.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01576, allocations: 15.98 kB / 336.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.01592, allocations: 243.1 kB / 336.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01592, allocations: 0 / 336.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.01615, allocations: 52 kB / 336.9 MB, free: 3.902 MB / 298.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 9.37e-05/0.01625, allocations: 107.2 kB / 337 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.0165, allocations: 191.7 kB / 337.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0165, allocations: 0 / 337.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.01654, allocations: 27.98 kB / 337.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.01702, allocations: 193.7 kB / 337.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.01787, allocations: 0.7027 MB / 338.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.018, allocations: 205.6 kB / 338.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.01806, allocations: 32.5 kB / 338.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01806, allocations: 0 / 338.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of Templates: time 0.004626/0.02269, allocations: 3.714 MB / 342.1 MB, free: 14.66 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/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.679158804006875]