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.001543/0.001543, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002321/0.002321, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.002268/0.002268, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.319, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003595/0.3226, allocations: 2.133 MB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3238, allocations: 0.5809 MB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3239, allocations: 15.88 kB / 435.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.324, allocations: 23.67 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.3243, allocations: 79.36 kB / 435.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.3245, allocations: 71.84 kB / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.3249, allocations: 279 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.325, allocations: 55.88 kB / 435.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.3253, allocations: 127.4 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.3255, allocations: 143.2 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.3255, allocations: 28 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.388e-05/0.3256, allocations: 20 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.863e-05/0.3257, allocations: 63.69 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3258, allocations: 107.3 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3261, allocations: 262.3 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3261, allocations: 4 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3261, allocations: 0 / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3261, allocations: 0 / 436.3 MB, free: 2.773 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.001153/0.3272, allocations: 0.5505 MB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3273, allocations: 8.031 kB / 436.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.3274, allocations: 44.64 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.3278, allocations: 254.8 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3278, allocations: 12.41 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.3278, allocations: 16 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.3285, allocations: 374.8 kB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3285, allocations: 7.938 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3285, allocations: 4 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3286, allocations: 7.984 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.3288, allocations: 87.95 kB / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.3295, allocations: 441.2 kB / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.3302, allocations: 303.8 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.3305, allocations: 130.5 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3305, allocations: 7.984 kB / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.3305, allocations: 38.56 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.3305, allocations: 0 / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002389/0.3329, allocations: 1.153 MB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.3331, allocations: 138.8 kB / 439.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.3335, allocations: 320.6 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3335, allocations: 37.7 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3336, allocations: 141.1 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.3337, allocations: 59.64 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.3338, allocations: 66.12 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.334, allocations: 350.7 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3341, allocations: 76.81 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.3344, allocations: 300.7 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.3349, allocations: 399.9 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3349, allocations: 0 / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000633/0.3356, allocations: 393.6 kB / 441.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3356, allocations: 8 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3356, allocations: 12 kB / 441.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.3356, allocations: 16.03 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.3359, allocations: 99.77 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.3359, allocations: 15.94 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.3361, allocations: 23.94 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.3362, allocations: 20 kB / 442.1 MB, free: 12.46 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.0001651/0.3363, allocations: 161.7 kB / 442.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/0.3368, allocations: 293.9 kB / 442.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/0.3375, allocations: 372.5 kB / 442.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3375, allocations: 8 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3375, allocations: 4 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3375, allocations: 0 / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.3378, allocations: 201.1 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3378, allocations: 0 / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.3385, allocations: 123.8 kB / 443.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.3385, allocations: 7.938 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3385, allocations: 4 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3385, allocations: 4.078 kB / 443.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3385, allocations: 7.984 kB / 443.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.3396, allocations: 0.6952 MB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.3397, allocations: 43.77 kB / 444 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.3398, allocations: 15.94 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.34, allocations: 11.94 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3401, allocations: 7.984 kB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.3401, allocations: 12 kB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000302/0.3404, allocations: 247 kB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3404, allocations: 0 / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.3409, allocations: 64.06 kB / 444.4 MB, free: 10.12 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.0001436/0.341, allocations: 110.2 kB / 444.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.3416, allocations: 277.4 kB / 444.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3416, allocations: 0 / 444.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.3416, allocations: 27.98 kB / 444.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.3424, allocations: 192.6 kB / 445 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3439, allocations: 0.754 MB / 445.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.3441, allocations: 197.6 kB / 445.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3442, allocations: 35.42 kB / 445.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3442, allocations: 0 / 445.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of Templates: time 0.007464/0.3517, allocations: 4.019 MB / 450 MB, free: 4.473 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 -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: 7.221863518003374]