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.001433/0.001433, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001044/0.001044, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.9536/0.9536, allocations: 177 MB / 205.2 MB, free: 5.039 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.804e-06/1.804e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.206e-05, allocations: 2.312 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004607/0.004639, allocations: 2.188 MB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.006287, allocations: 0.6234 MB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.006514, allocations: 4 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.006687, allocations: 27.61 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.007068, allocations: 79.41 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.007484, allocations: 71.78 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.007933, allocations: 283 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.008106, allocations: 55.08 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.008636, allocations: 167.4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.008785, allocations: 111.5 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.008826, allocations: 20 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.791e-05/0.008854, allocations: 20 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.008935, allocations: 63.69 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.009012, allocations: 79.62 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.009296, allocations: 171.2 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.009305, allocations: 0 / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.009307, allocations: 4 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.009315, allocations: 0 / 277.3 MB, free: 13.11 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.0007104/0.01003, allocations: 0.5111 MB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.01007, allocations: 11.98 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.01013, allocations: 32.91 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.01036, allocations: 222.7 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.01038, allocations: 12.66 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.01041, allocations: 16.33 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.01072, allocations: 286.1 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.01073, allocations: 0 / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.01074, allocations: 4 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01075, allocations: 4 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.204e-05/0.0108, allocations: 31.97 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.01132, allocations: 305.1 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.01169, allocations: 207.6 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.01178, allocations: 70.62 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.01181, allocations: 7.859 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.01184, allocations: 54.41 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.01184, allocations: 0 / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001503/0.01335, allocations: 0.8301 MB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.01345, allocations: 134.7 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.01362, allocations: 275 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01364, allocations: 37.64 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.01369, allocations: 117.7 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.01372, allocations: 35.72 kB / 280.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.01377, allocations: 37.72 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.01386, allocations: 342.8 kB / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.01389, allocations: 11.98 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.01394, allocations: 66.84 kB / 280.9 MB, free: 9.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.003e-05/0.01402, allocations: 89.53 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01402, allocations: 4 kB / 281 MB, free: 9.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001209/0.01414, allocations: 117.5 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01416, allocations: 4 kB / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.01417, allocations: 4 kB / 281.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01418, allocations: 4 kB / 281.1 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.01427, allocations: 27.98 kB / 281.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.01427, allocations: 12.09 kB / 281.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.01434, allocations: 19.89 kB / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.01435, allocations: 7.984 kB / 281.2 MB, free: 8.898 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.0001067/0.01445, allocations: 124.7 kB / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.01466, allocations: 162.7 kB / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.01491, allocations: 225 kB / 281.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.01492, allocations: 4 kB / 281.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01492, allocations: 3.938 kB / 281.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.01493, allocations: 8 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.01513, allocations: 137.8 kB / 281.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01513, allocations: 0 / 281.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.01541, allocations: 111.9 kB / 282 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01542, allocations: 4 kB / 282 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01543, allocations: 12.11 kB / 282 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.01544, allocations: 8 kB / 282 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01544, allocations: 3.938 kB / 282 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01562, allocations: 258.7 kB / 282.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.01566, allocations: 39.69 kB / 282.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.0157, allocations: 16.03 kB / 282.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.0158, allocations: 11.98 kB / 282.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.01583, allocations: 0 / 282.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.01584, allocations: 15.98 kB / 282.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.042e-05/0.01593, allocations: 108.6 kB / 282.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01593, allocations: 0 / 282.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.01613, allocations: 48 kB / 282.5 MB, free: 7.555 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.0001224/0.01625, allocations: 92.34 kB / 282.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.01643, allocations: 124.2 kB / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01644, allocations: 0 / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.527e-05/0.01646, allocations: 20.8 kB / 282.7 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.01687, allocations: 135.2 kB / 282.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.01773, allocations: 0.663 MB / 283.5 MB, free: 6.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.984e-05/0.01781, allocations: 121.1 kB / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.01787, allocations: 22.97 kB / 283.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.01797, allocations: 95.34 kB / 283.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01797, allocations: 0 / 283.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of Templates: time 0.005513/0.02348, allocations: 3.605 MB / 287.4 MB, free: 2.668 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.7883854899555445]