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.001696/0.001696, allocations: 92.31 kB / 20.96 MB, free: 3.48 MB / 18.57 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.001585/0.001585, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 18.57 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.516/1.516, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 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 1.453e-06/1.453e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.818e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003615/0.003643, allocations: 2.145 MB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004945, allocations: 0.5731 MB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.005055, allocations: 4 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.005179, allocations: 31.61 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.005473, allocations: 83.34 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.00574, allocations: 71.78 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.006105, allocations: 282.9 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.006253, allocations: 57.11 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.006563, allocations: 159.5 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.006754, allocations: 107.6 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.006803, allocations: 24 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.006845, allocations: 24 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.006939, allocations: 71.61 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.007043, allocations: 75.69 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.007404, allocations: 259 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007407, allocations: 0 / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007408, allocations: 4 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007414, allocations: 0 / 276.3 MB, free: 13.85 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.00118/0.008593, allocations: 0.5398 MB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.008629, allocations: 8.031 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.008737, allocations: 52.69 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.009169, allocations: 266 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.009188, allocations: 8.656 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.009242, allocations: 24.31 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.009963, allocations: 362.5 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.009972, allocations: 7.938 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.009991, allocations: 4 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.009999, allocations: 4 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.01022, allocations: 87.89 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.01094, allocations: 437.3 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.01172, allocations: 307.6 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.01197, allocations: 126.7 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.01201, allocations: 4 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.01204, allocations: 38.56 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.01204, allocations: 0 / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.002569/0.01461, allocations: 1.161 MB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.01475, allocations: 142.7 kB / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.01517, allocations: 324.6 kB / 280.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.01521, allocations: 33.7 kB / 280.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01534, allocations: 141.1 kB / 280.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.01539, allocations: 43.69 kB / 280.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.01546, allocations: 33.7 kB / 280.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.01566, allocations: 338.8 kB / 280.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01576, allocations: 39.98 kB / 280.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.0159, allocations: 98.81 kB / 280.8 MB, free: 8.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.01613, allocations: 122.8 kB / 280.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01613, allocations: 0 / 280.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003842/0.01652, allocations: 205.2 kB / 281.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.01654, allocations: 10.5 kB / 281.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01654, allocations: 0 / 281.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.01657, allocations: 7.938 kB / 281.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.01671, allocations: 39.92 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.01672, allocations: 0 / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.01686, allocations: 16.59 kB / 281.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01688, allocations: 12.22 kB / 281.2 MB, free: 8.551 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.0001702/0.01705, allocations: 145.7 kB / 281.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/0.0176, allocations: 294.7 kB / 281.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000872/0.01847, allocations: 368.1 kB / 282 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.01848, allocations: 11.94 kB / 282 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01849, allocations: 3.938 kB / 282 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01849, allocations: 0 / 282 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.01885, allocations: 197.2 kB / 282.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01885, allocations: 0 / 282.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.01946, allocations: 127.8 kB / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.01947, allocations: 0 / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.01949, allocations: 8 kB / 282.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.0195, allocations: 3.938 kB / 282.4 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.0195, allocations: 7.938 kB / 282.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.0207, allocations: 0.703 MB / 283.1 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.02078, allocations: 35.75 kB / 283.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.02083, allocations: 11.98 kB / 283.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.02111, allocations: 20.06 kB / 283.1 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.02115, allocations: 7.922 kB / 283.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.02118, allocations: 12 kB / 283.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.02149, allocations: 247 kB / 283.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02149, allocations: 0 / 283.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.02185, allocations: 52 kB / 283.5 MB, free: 6.254 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.0001507/0.022, allocations: 111.1 kB / 283.6 MB, free: 6.133 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.02245, allocations: 192 kB / 283.7 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02245, allocations: 4 kB / 283.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.02254, allocations: 36.05 kB / 283.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.02331, allocations: 189.2 kB / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.0247, allocations: 0.6833 MB / 284.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.02493, allocations: 197.6 kB / 284.8 MB, free: 4.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.303e-05/0.02503, allocations: 30.95 kB / 284.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.02513, allocations: 32.5 kB / 284.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02513, allocations: 0 / 284.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of Templates: time 0.008735/0.03386, allocations: 3.524 MB / 288.4 MB, free: 1.227 MB / 266.7 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/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_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: 4.577519724960439]