Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 210.8 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 258.1 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2465, allocations: 53.4 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003519/0.25, allocations: 2.129 MB / 434.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2511, allocations: 0.5887 MB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.2513, allocations: 4 kB / 435.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.2514, allocations: 27.61 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.2517, allocations: 75.42 kB / 435.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2519, allocations: 74.83 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.2523, allocations: 279 kB / 435.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.2524, allocations: 59.86 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.2526, allocations: 123.4 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.2528, allocations: 131.2 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.2529, allocations: 20 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.2529, allocations: 24 kB / 435.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.253, allocations: 63.69 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2531, allocations: 103.3 kB / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.2534, allocations: 266.4 kB / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2534, allocations: 0 / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2534, allocations: 0 / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2534, allocations: 4 kB / 436.3 MB, free: 2.562 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.001057/0.2545, allocations: 0.5476 MB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2545, allocations: 15.98 kB / 436.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.2546, allocations: 36.7 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.255, allocations: 254.8 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.255, allocations: 20.39 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.255, allocations: 15.94 kB / 437.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.2557, allocations: 382.1 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2557, allocations: 3.938 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2557, allocations: 7.984 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2557, allocations: 4 kB / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.2559, allocations: 87.95 kB / 437.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.2566, allocations: 437.2 kB / 438.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.2573, allocations: 306.7 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.2575, allocations: 134.2 kB / 438.5 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2575, allocations: 4 kB / 438.5 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2575, allocations: 38.56 kB / 438.6 MB, free: 160 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.2575, allocations: 0.6562 kB / 438.6 MB, free: 160 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002243/0.2598, allocations: 1.149 MB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.2599, allocations: 138.7 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.2603, allocations: 328.6 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2603, allocations: 33.64 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2604, allocations: 149.2 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.2605, allocations: 55.66 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.2605, allocations: 66.14 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2607, allocations: 346.8 kB / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2609, allocations: 68.83 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.2612, allocations: 300 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.2617, allocations: 399.2 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.2617, allocations: 8 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006331/0.2623, allocations: 401.5 kB / 442 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2624, allocations: 8 kB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.2624, allocations: 8 kB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.2624, allocations: 12 kB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.2627, allocations: 87.84 kB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.2627, allocations: 19.92 kB / 442.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.2629, allocations: 19.95 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.2629, allocations: 24 kB / 442.2 MB, free: 12.25 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.0001852/0.2631, allocations: 169.8 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/0.2636, allocations: 297.7 kB / 442.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.2642, allocations: 368.5 kB / 443 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2643, allocations: 4 kB / 443 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2643, allocations: 0 / 443 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2643, allocations: 3.984 kB / 443 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.2646, allocations: 201.2 kB / 443.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2646, allocations: 0 / 443.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.2651, allocations: 127.8 kB / 443.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2651, allocations: 3.938 kB / 443.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.2652, allocations: 19.92 kB / 443.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.2652, allocations: 4 kB / 443.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2652, allocations: 0 / 443.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/0.2661, allocations: 0.6951 MB / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.2662, allocations: 35.78 kB / 444.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.2663, allocations: 15.94 kB / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2665, allocations: 15.98 kB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.2666, allocations: 8.25 kB / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.2666, allocations: 11.98 kB / 444.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002741/0.2668, allocations: 251 kB / 444.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2669, allocations: 0 / 444.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.2673, allocations: 56 kB / 444.4 MB, free: 9.91 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.0001311/0.2674, allocations: 111.2 kB / 444.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005112/0.2679, allocations: 276 kB / 444.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2679, allocations: 4 kB / 444.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.268, allocations: 33.55 kB / 444.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.2687, allocations: 184.6 kB / 445 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.27, allocations: 0.7539 MB / 445.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.2702, allocations: 201.6 kB / 446 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.2703, allocations: 27.44 kB / 446 MB, free: 8.273 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2703, allocations: 0 / 446 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Templates: time 0.006717/0.277, allocations: 4.022 MB / 450 MB, free: 4.254 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.209129937924445]