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.001356/0.001356, allocations: 81.97 kB / 20.68 MB, free: 1.023 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.001371/0.001371, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 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.368/1.368, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 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.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 2.064e-06/2.064e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.415e-05, allocations: 2.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003834/0.003868, allocations: 2.102 MB / 321 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005419, allocations: 0.5676 MB / 321.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.005734, allocations: 7.031 kB / 321.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.005914, allocations: 23.44 kB / 321.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.006392, allocations: 87.45 kB / 321.7 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.006743, allocations: 73.86 kB / 321.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.007191, allocations: 287.1 kB / 322.1 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.007363, allocations: 53.89 kB / 322.1 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.007616, allocations: 155.6 kB / 322.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.00787, allocations: 113.1 kB / 322.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.007932, allocations: 21.81 kB / 322.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.007981, allocations: 27.12 kB / 322.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.008068, allocations: 65.53 kB / 322.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.008187, allocations: 83.28 kB / 322.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.00861, allocations: 251.3 kB / 322.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.008614, allocations: 1.469 kB / 322.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008615, allocations: 3.938 kB / 322.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.008625, allocations: 0 / 322.8 MB, free: 1.152 MB / 286.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.001303/0.009928, allocations: 0.5563 MB / 323.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.009975, allocations: 14.73 kB / 323.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.01008, allocations: 33.28 kB / 323.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.01052, allocations: 261.7 kB / 323.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.01054, allocations: 13.84 kB / 323.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.01059, allocations: 14.78 kB / 323.7 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.0113, allocations: 367.7 kB / 324.1 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.01132, allocations: 0 / 324.1 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.01134, allocations: 6.75 kB / 324.1 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.01135, allocations: 6.75 kB / 324.1 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.01157, allocations: 89.09 kB / 324.2 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.01235, allocations: 436.2 kB / 324.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007715/0.01312, allocations: 302.6 kB / 324.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.01337, allocations: 129.9 kB / 325 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.01341, allocations: 8.312 kB / 325 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.01345, allocations: 42.88 kB / 325.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.01345, allocations: 0 / 325.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.0026/0.01605, allocations: 1.149 MB / 326.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.01619, allocations: 148.6 kB / 326.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.01664, allocations: 325.3 kB / 326.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.01669, allocations: 31.89 kB / 326.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.0168, allocations: 143.6 kB / 326.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.01685, allocations: 38.83 kB / 326.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.01692, allocations: 35.38 kB / 326.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.01709, allocations: 338.8 kB / 327.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.01719, allocations: 38.67 kB / 327.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.01733, allocations: 94.64 kB / 327.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.01756, allocations: 132.5 kB / 327.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01756, allocations: 1.125 kB / 327.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003859/0.01794, allocations: 187.3 kB / 327.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.01796, allocations: 10.25 kB / 327.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.01797, allocations: 1.25 kB / 327.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.01799, allocations: 10.69 kB / 327.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.01813, allocations: 32.41 kB / 327.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.01814, allocations: 3.516 kB / 327.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.01829, allocations: 10.72 kB / 327.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.0183, allocations: 5.031 kB / 327.8 MB, free: 13.82 MB / 302.1 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.0001747/0.01847, allocations: 151.3 kB / 327.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/0.01899, allocations: 293.9 kB / 328.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.01972, allocations: 361.6 kB / 328.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.01973, allocations: 9.344 kB / 328.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.01974, allocations: 1.094 kB / 328.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.01975, allocations: 7.438 kB / 328.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.02014, allocations: 200.5 kB / 328.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.02015, allocations: 0.7344 kB / 328.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.02074, allocations: 126.3 kB / 328.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.02074, allocations: 6.031 kB / 328.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.02078, allocations: 8.594 kB / 328.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.02078, allocations: 2.406 kB / 328.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.02079, allocations: 5.984 kB / 328.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.02195, allocations: 0.6951 MB / 329.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.02204, allocations: 38.44 kB / 329.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.02211, allocations: 17.66 kB / 329.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.02237, allocations: 11.88 kB / 329.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.02242, allocations: 11.81 kB / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.02245, allocations: 14.02 kB / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003401/0.02279, allocations: 243.7 kB / 329.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02279, allocations: 0 / 329.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.02318, allocations: 49.94 kB / 330 MB, free: 12.57 MB / 302.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.0001423/0.02333, allocations: 114.1 kB / 330.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.02378, allocations: 193.7 kB / 330.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.02378, allocations: 4.062 kB / 330.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.02385, allocations: 27.25 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.02466, allocations: 192.5 kB / 330.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.0261, allocations: 0.6754 MB / 331.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.02635, allocations: 198 kB / 331.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.02644, allocations: 28.58 kB / 331.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.02654, allocations: 27.75 kB / 331.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.02654, allocations: 3.938 kB / 331.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Templates: time 0.00931/0.03585, allocations: 3.493 MB / 334.9 MB, free: 10.38 MB / 302.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.3486986719071865]