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.001178/0.001178, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001306/0.001306, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9902/0.9902, allocations: 177 MB / 205.9 MB, free: 4.453 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.493e-06/1.493e-06, allocations: 0 / 274.1 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.982e-05, allocations: 6.109 kB / 274.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.00254/0.00257, allocations: 2.18 MB / 276.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.003537, allocations: 0.5993 MB / 276.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.003677, allocations: 10 kB / 276.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.00381, allocations: 23.67 kB / 276.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.004119, allocations: 83.34 kB / 277 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.004413, allocations: 67.78 kB / 277.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.00471, allocations: 287.6 kB / 277.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.004846, allocations: 50.05 kB / 277.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.005149, allocations: 167.4 kB / 277.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005285, allocations: 105 kB / 277.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.005328, allocations: 20 kB / 277.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.005351, allocations: 20 kB / 277.7 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.00542, allocations: 67.67 kB / 277.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.005486, allocations: 84.44 kB / 277.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.005691, allocations: 167.2 kB / 278 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.005694, allocations: 0.6562 kB / 278 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005695, allocations: 0 / 278 MB, free: 472 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.0057, allocations: 2.438 kB / 278 MB, free: 472 kB / 250.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.0007707/0.00647, allocations: 0.6396 MB / 278.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.006506, allocations: 8.031 kB / 278.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.006567, allocations: 44.75 kB / 278.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.006821, allocations: 249.5 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.006833, allocations: 16.66 kB / 279 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.006864, allocations: 12.38 kB / 279 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.007195, allocations: 292.9 kB / 279.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007205, allocations: 3.938 kB / 279.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.007218, allocations: 8 kB / 279.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007223, allocations: 0 / 279.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.007288, allocations: 43.95 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.007736, allocations: 478.7 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.008079, allocations: 249 kB / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.008162, allocations: 91.19 kB / 280.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.008187, allocations: 8 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.008429, allocations: 41.39 kB / 280.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.008431, allocations: 0.6562 kB / 280.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001137/0.009568, allocations: 0.7914 MB / 281 MB, free: 13.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.009649, allocations: 154.5 kB / 281.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.009827, allocations: 330.2 kB / 281.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.009847, allocations: 41.77 kB / 281.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.009923, allocations: 195.8 kB / 281.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.009961, allocations: 43.67 kB / 281.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.01, allocations: 31.36 kB / 281.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01012, allocations: 0.5195 MB / 282.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.01015, allocations: 15.98 kB / 282.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/0.01021, allocations: 89.47 kB / 282.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.598e-05/0.01029, allocations: 113.4 kB / 282.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0103, allocations: 4 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001489/0.01045, allocations: 145.3 kB / 282.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01046, allocations: 4 kB / 282.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01046, allocations: 4 kB / 282.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01048, allocations: 4.219 kB / 282.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.01056, allocations: 39.86 kB / 282.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01057, allocations: 7.984 kB / 282.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.01063, allocations: 15.89 kB / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.01064, allocations: 4 kB / 282.7 MB, free: 11.41 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.0001039/0.01075, allocations: 176.5 kB / 282.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.01099, allocations: 210.6 kB / 283.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.01128, allocations: 264.8 kB / 283.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01128, allocations: 8 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01128, allocations: 3.938 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01129, allocations: 4 kB / 283.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.01148, allocations: 165.1 kB / 283.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01149, allocations: 4 kB / 283.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.01193, allocations: 115.9 kB / 283.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01193, allocations: 0 / 283.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.01195, allocations: 19.92 kB / 283.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01195, allocations: 4 kB / 283.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01195, allocations: 0 / 283.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.01217, allocations: 374.9 kB / 284 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.01221, allocations: 43.67 kB / 284.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.01225, allocations: 12.19 kB / 284.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.01237, allocations: 12 kB / 284.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.01239, allocations: 7.984 kB / 284.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01241, allocations: 11.94 kB / 284.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.01252, allocations: 242.8 kB / 284.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01252, allocations: 0 / 284.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.01276, allocations: 48 kB / 284.4 MB, free: 9.637 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.0001155/0.01288, allocations: 111.2 kB / 284.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.01306, allocations: 125.1 kB / 284.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01306, allocations: 0 / 284.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.01309, allocations: 19.67 kB / 284.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.01356, allocations: 144.1 kB / 284.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/0.01453, allocations: 0.6324 MB / 285.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.01461, allocations: 125 kB / 285.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.072e-05/0.01467, allocations: 26.95 kB / 285.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.01479, allocations: 114.2 kB / 285.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01479, allocations: 0 / 285.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of Templates: time 0.006281/0.02107, allocations: 3.74 MB / 289.4 MB, free: 4.57 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.7693202910013497]