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.001823/0.001823, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002267/0.002267, allocations: 152.9 kB / 24.26 MB, free: 144 kB / 18.57 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: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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 1.924e-06/1.924e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.18e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004001/0.004033, allocations: 2.139 MB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.005435, allocations: 0.5769 MB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.005646, allocations: 4 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.005832, allocations: 31.61 kB / 274.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.006227, allocations: 71.42 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.006573, allocations: 75.77 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.007038, allocations: 286.9 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.007206, allocations: 57.11 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.007565, allocations: 163.4 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.007785, allocations: 107.6 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.007842, allocations: 20 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.382e-05/0.007885, allocations: 24 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-05/0.007985, allocations: 71.61 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.0081, allocations: 79.69 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.008471, allocations: 258.9 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.008474, allocations: 0 / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008475, allocations: 4 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.008485, allocations: 0 / 276.1 MB, free: 13.83 MB / 266.7 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.001276/0.00976, allocations: 0.5476 MB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.0098, allocations: 11.98 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.009929, allocations: 44.7 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.01039, allocations: 262 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.01041, allocations: 8.656 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.01046, allocations: 12.38 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.01124, allocations: 374.1 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01125, allocations: 3.938 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.01127, allocations: 4 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01128, allocations: 4 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.01151, allocations: 87.95 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.01227, allocations: 441.2 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.01306, allocations: 303.8 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.0133, allocations: 132.8 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.01334, allocations: 8 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.01337, allocations: 38.55 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.213e-06/0.01337, allocations: 0 / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.002604/0.01597, allocations: 1.156 MB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.01613, allocations: 138.6 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.0166, allocations: 332.6 kB / 280 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.01665, allocations: 29.7 kB / 280 MB, free: 9.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.01679, allocations: 149.2 kB / 280.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.01685, allocations: 39.69 kB / 280.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.01692, allocations: 29.7 kB / 280.2 MB, free: 9.465 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01711, allocations: 346.8 kB / 280.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.01722, allocations: 35.97 kB / 280.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.01735, allocations: 90.84 kB / 280.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.0176, allocations: 134.7 kB / 280.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.0176, allocations: 3.984 kB / 280.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003696/0.01797, allocations: 193.3 kB / 281 MB, free: 8.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.01799, allocations: 4 kB / 281 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.018, allocations: 4.219 kB / 281 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.01802, allocations: 11.94 kB / 281 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.01815, allocations: 31.92 kB / 281.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.01816, allocations: 4 kB / 281.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.01831, allocations: 16.59 kB / 281.1 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.01833, allocations: 8 kB / 281.1 MB, free: 8.535 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001825/0.01851, allocations: 145.7 kB / 281.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/0.01904, allocations: 298.6 kB / 281.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/0.01974, allocations: 371.9 kB / 281.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.01975, allocations: 11.94 kB / 281.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01975, allocations: 7.938 kB / 281.9 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01976, allocations: 0 / 281.9 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.02009, allocations: 197.2 kB / 282.1 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.0201, allocations: 4 kB / 282.1 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.02069, allocations: 119.8 kB / 282.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.0207, allocations: 4 kB / 282.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.02073, allocations: 8 kB / 282.2 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.02073, allocations: 0 / 282.2 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.02074, allocations: 7.938 kB / 282.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.02185, allocations: 0.7031 MB / 283 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.02193, allocations: 47.77 kB / 283 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.02199, allocations: 12 kB / 283 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.02224, allocations: 8 kB / 283 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.02229, allocations: 11.92 kB / 283 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.02233, allocations: 12 kB / 283 MB, free: 6.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.02262, allocations: 247 kB / 283.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02262, allocations: 0 / 283.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.02297, allocations: 52.06 kB / 283.3 MB, free: 6.227 MB / 266.7 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.0001496/0.02312, allocations: 115.1 kB / 283.4 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.02356, allocations: 191.4 kB / 283.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02356, allocations: 0 / 283.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.02364, allocations: 27.92 kB / 283.7 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.02442, allocations: 192.8 kB / 283.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.02588, allocations: 0.6885 MB / 284.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.02614, allocations: 201.6 kB / 284.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.99e-05/0.02623, allocations: 22.97 kB / 284.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.02633, allocations: 28.48 kB / 284.8 MB, free: 4.715 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02633, allocations: 0 / 284.8 MB, free: 4.715 MB / 266.7 MB Notification: Performance of Templates: time 0.008812/0.03515, allocations: 3.543 MB / 288.3 MB, free: 1.191 MB / 266.7 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.557605022913776]