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.001469/0.001469, allocations: 99.66 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.001591/0.001591, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001665/0.001665, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2649, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003914/0.2689, allocations: 2.132 MB / 434.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2702, allocations: 0.5849 MB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2703, allocations: 7.938 kB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2704, allocations: 27.61 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.2707, allocations: 75.42 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.271, allocations: 71.84 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.2714, allocations: 279 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2715, allocations: 55.88 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.2718, allocations: 131.3 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.272, allocations: 123.3 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.2721, allocations: 24 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.2721, allocations: 20 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.2722, allocations: 67.67 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2723, allocations: 107.3 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.2727, allocations: 262.4 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2727, allocations: 7.938 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2727, allocations: 4 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2727, 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.00125/0.2739, allocations: 0.5437 MB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.274, allocations: 8.031 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.2741, allocations: 44.64 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.2745, allocations: 250.8 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2745, allocations: 12.41 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.2746, allocations: 20 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.2753, allocations: 381.8 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2753, allocations: 0 / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2753, allocations: 4 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2753, allocations: 4 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.2756, allocations: 91.89 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.2764, allocations: 437.3 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.2771, allocations: 303.6 kB / 438.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.2773, allocations: 134.7 kB / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2774, allocations: 4 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.2774, allocations: 34.56 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.2774, allocations: 0 / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002415/0.2798, allocations: 1.16 MB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.2799, allocations: 142.7 kB / 439.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.2803, allocations: 324.6 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.2804, allocations: 33.7 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2805, allocations: 149.2 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.2806, allocations: 55.64 kB / 440.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2807, allocations: 66.12 kB / 440.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2809, allocations: 350.7 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.281, allocations: 72.83 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.2813, allocations: 296.7 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.2819, allocations: 399.9 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2819, allocations: 0 / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006554/0.2825, allocations: 401.4 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.2826, allocations: 12 kB / 441.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2826, allocations: 8 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.2826, allocations: 8 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2829, allocations: 95.78 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.2829, allocations: 19.92 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.2831, allocations: 19.95 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.2832, allocations: 24 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.0001993/0.2834, allocations: 173.1 kB / 442.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.2839, allocations: 297.9 kB / 442.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000713/0.2846, allocations: 364.5 kB / 442.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2846, allocations: 4 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.2846, allocations: 4 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2846, allocations: 3.984 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.285, allocations: 193.2 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.285, allocations: 0 / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.2855, allocations: 127.8 kB / 443.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.2856, allocations: 7.938 kB / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.2856, allocations: 8 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2856, allocations: 7.984 kB / 443.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2856, allocations: 0 / 443.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2867, allocations: 0.6951 MB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.2868, allocations: 39.78 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.2868, allocations: 15.94 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.2871, allocations: 11.98 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2871, allocations: 12.06 kB / 444 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.2872, allocations: 11.98 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.2874, allocations: 243.1 kB / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2874, allocations: 0 / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.2879, allocations: 60 kB / 444.3 MB, free: 10.14 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.0001551/0.2881, allocations: 111.2 kB / 444.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.2886, allocations: 279.8 kB / 444.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2886, allocations: 0 / 444.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.2887, allocations: 33.61 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.0007675/0.2895, allocations: 191.2 kB / 444.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2909, allocations: 0.7541 MB / 445.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.2911, allocations: 197.6 kB / 445.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.2912, allocations: 35.42 kB / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2912, allocations: 0 / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Templates: time 0.006691/0.2979, allocations: 4.018 MB / 449.9 MB, free: 4.477 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.210535720922053]