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.001612/0.001612, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001669/0.001669, allocations: 186 kB / 24.46 MB, free: 3.863 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.48/1.48, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001655/0.001655, allocations: 47.92 kB / 371.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2728, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003534/0.2763, allocations: 2.116 MB / 425.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2775, allocations: 0.5616 MB / 426.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2776, allocations: 3.938 kB / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.2777, allocations: 23.67 kB / 426.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.278, allocations: 83.36 kB / 426.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.2783, allocations: 75.83 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.2786, allocations: 279.1 kB / 427 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2788, allocations: 41.14 kB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2789, allocations: 123.4 kB / 427.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.2791, allocations: 135.2 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.2792, allocations: 20 kB / 427.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.095e-05/0.2792, allocations: 24 kB / 427.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.2793, allocations: 63.69 kB / 427.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2794, allocations: 107.3 kB / 427.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.2797, allocations: 272.3 kB / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2797, allocations: 0 / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2797, allocations: 0 / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2797, allocations: 0 / 427.7 MB, free: 10.58 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.00112/0.2809, allocations: 0.5515 MB / 428.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2809, allocations: 12.03 kB / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.281, allocations: 32.75 kB / 428.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.2814, allocations: 254.8 kB / 428.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2814, allocations: 16.41 kB / 428.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.2814, allocations: 20 kB / 428.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.2821, allocations: 363.1 kB / 429 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2821, allocations: 4 kB / 429 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2821, allocations: 4 kB / 429 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2821, allocations: 4 kB / 429 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.2823, allocations: 95.88 kB / 429.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.283, allocations: 449.1 kB / 429.5 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.2837, allocations: 299.9 kB / 429.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2839, allocations: 130 kB / 429.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.2839, allocations: 15.84 kB / 429.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.284, allocations: 38.5 kB / 430 MB, free: 8.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.953e-06/0.284, allocations: 0 / 430 MB, free: 8.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002301/0.2863, allocations: 1.145 MB / 431.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.2864, allocations: 139.6 kB / 431.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.2868, allocations: 328.6 kB / 431.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2868, allocations: 29.7 kB / 431.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2869, allocations: 145.1 kB / 431.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.287, allocations: 55.61 kB / 431.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.2871, allocations: 70.12 kB / 431.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.2873, allocations: 346.8 kB / 432.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2874, allocations: 60.84 kB / 432.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.2878, allocations: 307.8 kB / 432.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.2883, allocations: 403.2 kB / 433 MB, free: 4.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2883, allocations: 4 kB / 433 MB, free: 4.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006226/0.2889, allocations: 404.9 kB / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2889, allocations: 8 kB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.289, allocations: 8 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.289, allocations: 12 kB / 433.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.2892, allocations: 92.48 kB / 433.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.2893, allocations: 15.94 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.2895, allocations: 27.94 kB / 433.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.2895, allocations: 24 kB / 433.5 MB, free: 4.262 MB / 334.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.0001692/0.2897, allocations: 157.7 kB / 433.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/0.2901, allocations: 289.1 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000644/0.2908, allocations: 369.8 kB / 434.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2908, allocations: 7.984 kB / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2908, allocations: 0 / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2908, allocations: 0 / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.2911, allocations: 205.2 kB / 434.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2911, allocations: 0 / 434.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.2917, allocations: 127.8 kB / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2917, allocations: 3.938 kB / 434.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.2917, allocations: 15.94 kB / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.2917, allocations: 4 kB / 434.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2917, allocations: 0 / 434.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2928, allocations: 0.6917 MB / 435.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.2928, allocations: 43.89 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.2929, allocations: 23.94 kB / 435.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.2931, allocations: 8 kB / 435.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.2932, allocations: 7.984 kB / 435.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.2932, allocations: 12 kB / 435.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002766/0.2935, allocations: 247 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2935, allocations: 0 / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.294, allocations: 60 kB / 435.8 MB, free: 1.941 MB / 334.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.0001474/0.2941, allocations: 119.1 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.2946, allocations: 285.2 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2946, allocations: 0 / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.2947, allocations: 28.55 kB / 436.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.2955, allocations: 195 kB / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.2969, allocations: 0.7813 MB / 437.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2971, allocations: 197.6 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/0.2972, allocations: 31.42 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2972, allocations: 4 kB / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of Templates: time 0.006965/0.3042, allocations: 4.012 MB / 441.4 MB, free: 12.25 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/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: 7.237377412151545]