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.001008/0.001008, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001108/0.001108, allocations: 156.5 kB / 24.55 MB, free: 12 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 0.983/0.983, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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.503e-06/1.503e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.63e-05, allocations: 9.203 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.005879/0.005905, allocations: 2.21 MB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.006868, allocations: 0.6003 MB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.006982, allocations: 4 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.007102, allocations: 27.61 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.01039, allocations: 79.42 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.01062, allocations: 79.7 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.01089, allocations: 279 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.01102, allocations: 53.12 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.01127, allocations: 167.4 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.0114, allocations: 107.6 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.01144, allocations: 20 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.115e-05/0.01147, allocations: 24 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.01154, allocations: 67.62 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.01161, allocations: 75.69 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.01181, allocations: 183.2 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01182, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01182, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.01182, allocations: 0 / 276.9 MB, free: 13.48 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.0007896/0.01261, allocations: 0.6436 MB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.01265, allocations: 15.98 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.01272, allocations: 44.7 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.01302, allocations: 265.5 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.01303, allocations: 12.64 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.01307, allocations: 16.38 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.01654, allocations: 308.3 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.01655, allocations: 3.938 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.01657, allocations: 8 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.01658, allocations: 4 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.01667, allocations: 39.97 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.01719, allocations: 0.5177 MB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.01764, allocations: 260.6 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.01778, allocations: 99.11 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.01781, allocations: 11.86 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.01783, allocations: 37.39 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.773e-06/0.01783, allocations: 0 / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.004557/0.02239, allocations: 0.975 MB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.02247, allocations: 134.7 kB / 280.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.02275, allocations: 354.3 kB / 280.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.02279, allocations: 33.7 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.02287, allocations: 195.8 kB / 280.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.02291, allocations: 39.84 kB / 280.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.02296, allocations: 39.38 kB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.02308, allocations: 0.5079 MB / 281.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.02312, allocations: 20 kB / 281.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.02319, allocations: 90.16 kB / 281.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.02331, allocations: 129.4 kB / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02331, allocations: 0 / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001955/0.02351, allocations: 154 kB / 281.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.02352, allocations: 4 kB / 281.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02353, allocations: 8 kB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.02355, allocations: 7.938 kB / 281.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.02364, allocations: 31.92 kB / 281.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.02365, allocations: 8.219 kB / 281.8 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.02374, allocations: 19.81 kB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.02375, allocations: 12 kB / 281.9 MB, free: 8.082 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 9.831e-05/0.02385, allocations: 168.5 kB / 282 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.02419, allocations: 234.6 kB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.02458, allocations: 288.1 kB / 282.5 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.02458, allocations: 7.938 kB / 282.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.02458, allocations: 0 / 282.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02459, allocations: 8 kB / 282.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.02484, allocations: 208.5 kB / 282.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02484, allocations: 0 / 282.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/0.02793, allocations: 119.9 kB / 282.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.02794, allocations: 0 / 282.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.02796, allocations: 11.98 kB / 282.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.02796, allocations: 3.938 kB / 282.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.02797, allocations: 7.938 kB / 282.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.02847, allocations: 0.6124 MB / 283.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.02851, allocations: 51.62 kB / 283.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.02854, allocations: 15.94 kB / 283.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.02865, allocations: 8 kB / 283.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.02869, allocations: 11.92 kB / 283.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.0287, allocations: 12 kB / 283.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.02884, allocations: 259 kB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02884, allocations: 0 / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.02905, allocations: 48 kB / 283.9 MB, free: 5.949 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.0001046/0.02915, allocations: 107.2 kB / 284 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.02936, allocations: 146.5 kB / 284.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.02936, allocations: 0 / 284.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.752e-05/0.02939, allocations: 19.88 kB / 284.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.02982, allocations: 156.5 kB / 284.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.03078, allocations: 0.644 MB / 285 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.997e-05/0.03085, allocations: 117.1 kB / 285.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.03089, allocations: 22.97 kB / 285.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.03097, allocations: 40.42 kB / 285.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03097, allocations: 4 kB / 285.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of Templates: time 0.005447/0.03641, allocations: 3.53 MB / 288.7 MB, free: 1.113 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.903966279234737]