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.00131/0.00131, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001378/0.001378, allocations: 216.3 kB / 23 MB, free: 5.609 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.541/1.541, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.001819/0.001819, allocations: 63.91 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2774, allocations: 53.32 MB / 429.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003758/0.2811, allocations: 2.254 MB / 432 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2824, allocations: 0.6277 MB / 432.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2826, allocations: 0 / 432.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.2827, allocations: 27.67 kB / 432.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.283, allocations: 75.36 kB / 432.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2833, allocations: 71.84 kB / 432.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.2837, allocations: 279 kB / 433.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.2839, allocations: 52.73 kB / 433.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.2842, allocations: 119.4 kB / 433.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.2844, allocations: 151.2 kB / 433.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.2844, allocations: 20 kB / 433.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.958e-05/0.2844, allocations: 24 kB / 433.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.2845, allocations: 67.67 kB / 433.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.2847, allocations: 123.1 kB / 433.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.285, allocations: 268.1 kB / 433.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.285, allocations: 0 / 433.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.285, allocations: 0 / 433.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.285, allocations: 0 / 433.9 MB, free: 3.516 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.001221/0.2862, allocations: 0.6229 MB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2863, allocations: 12.03 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.2863, allocations: 32.7 kB / 434.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.2868, allocations: 316.6 kB / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.2868, allocations: 16.41 kB / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.2868, allocations: 16 kB / 434.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.2875, allocations: 373.9 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2875, allocations: 3.938 kB / 435.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2875, allocations: 4 kB / 435.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2876, allocations: 4 kB / 435.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.2878, allocations: 83.95 kB / 435.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.2885, allocations: 0.5366 MB / 435.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.2893, allocations: 299.9 kB / 436.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.2895, allocations: 135 kB / 436.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.2895, allocations: 8 kB / 436.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2895, allocations: 34.56 kB / 436.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.953e-06/0.2895, allocations: 3.938 kB / 436.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002455/0.292, allocations: 1.344 MB / 437.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.2921, allocations: 138.7 kB / 437.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.2925, allocations: 332.5 kB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2926, allocations: 33.7 kB / 438.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2927, allocations: 145.1 kB / 438.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.2927, allocations: 59.64 kB / 438.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.2928, allocations: 62.14 kB / 438.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.293, allocations: 350.8 kB / 438.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2931, allocations: 68.83 kB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.2935, allocations: 318.7 kB / 439.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.294, allocations: 417 kB / 439.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.294, allocations: 7.938 kB / 439.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006413/0.2946, allocations: 417.5 kB / 440 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2947, allocations: 8 kB / 440 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2947, allocations: 8 kB / 440.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.2947, allocations: 16 kB / 440.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.295, allocations: 91.84 kB / 440.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.295, allocations: 19.92 kB / 440.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.2952, allocations: 19.95 kB / 440.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.2952, allocations: 24 kB / 440.2 MB, free: 12.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (51): * Single equations (assignments): 51 * 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.0001984/0.2954, allocations: 181.8 kB / 440.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.2959, allocations: 300.9 kB / 440.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/0.2966, allocations: 371.5 kB / 441.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.2966, allocations: 8 kB / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.2966, allocations: 3.984 kB / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2966, allocations: 0 / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.297, allocations: 321.3 kB / 441.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.297, allocations: 0 / 441.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.2976, allocations: 127.8 kB / 441.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.2976, allocations: 4 kB / 441.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.2976, allocations: 7.984 kB / 441.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2976, allocations: 7.938 kB / 441.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2976, allocations: 3.938 kB / 441.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2987, allocations: 0.7189 MB / 442.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.2988, allocations: 108.9 kB / 442.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.2988, allocations: 15.98 kB / 442.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2991, allocations: 16 kB / 442.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.2991, allocations: 0 / 442.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.2991, allocations: 19.98 kB / 442.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.2994, allocations: 239.1 kB / 442.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2994, allocations: 4 kB / 442.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.2998, allocations: 64.06 kB / 442.7 MB, free: 10.02 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 (45): * Single equations (assignments): 45 * 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.0001533/0.3, allocations: 115.4 kB / 442.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.3005, allocations: 293.4 kB / 443.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3005, allocations: 0 / 443.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.3006, allocations: 27.98 kB / 443.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/0.3016, allocations: 204.5 kB / 443.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.303, allocations: 0.748 MB / 444.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3035, allocations: 0.8034 MB / 444.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.789e-05/0.3036, allocations: 39.27 kB / 444.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.3037, allocations: 27.44 kB / 444.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3037, allocations: 0 / 444.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Templates: time 0.008549/0.3122, allocations: 3.833 MB / 448.8 MB, free: 3.891 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/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: 4.671618790365756]