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.001053/0.001053, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001238/0.001238, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 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 0.9285/0.9285, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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.323e-06/1.323e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.433e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002922/0.002946, allocations: 2.248 MB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.00397, allocations: 0.6157 MB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.004103, allocations: 0 / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.004223, allocations: 27.61 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.004459, allocations: 79.36 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.004719, allocations: 83.7 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.004998, allocations: 279 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.005154, allocations: 54.88 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.005489, allocations: 171.4 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.005656, allocations: 107.6 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.005701, allocations: 23.94 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.005731, allocations: 20 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.005811, allocations: 63.69 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.00589, allocations: 75.69 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.006128, allocations: 179.2 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.00613, allocations: 0 / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.006132, allocations: 0 / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.00614, allocations: 0 / 277.5 MB, free: 13.23 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.0007058/0.006845, allocations: 0.5033 MB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.006892, allocations: 8.031 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.006961, allocations: 32.91 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.00724, allocations: 222.7 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.007258, allocations: 16.66 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.007301, allocations: 20.27 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.007713, allocations: 278.4 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.007725, allocations: 0 / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.007738, allocations: 4 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.007748, allocations: 11.98 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.007813, allocations: 32.73 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.008244, allocations: 301.2 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.00858, allocations: 206.7 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.008657, allocations: 70.7 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.008687, allocations: 11.84 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.008718, allocations: 46.5 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.00872, allocations: 0 / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001435/0.01016, allocations: 0.8288 MB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.01024, allocations: 138.7 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.01042, allocations: 271 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01044, allocations: 33.7 kB / 280.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.01049, allocations: 121.7 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.01052, allocations: 31.72 kB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.01057, allocations: 37.69 kB / 280.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01067, allocations: 342.8 kB / 281 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.0107, allocations: 11.98 kB / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.01075, allocations: 66.84 kB / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.01084, allocations: 97.53 kB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01084, allocations: 0 / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001403/0.01098, allocations: 113.5 kB / 281.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.011, allocations: 7.938 kB / 281.3 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01101, allocations: 8.219 kB / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01103, allocations: 4 kB / 281.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.01112, allocations: 39.92 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01113, allocations: 7.922 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.01119, allocations: 15.95 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.0112, allocations: 8 kB / 281.4 MB, free: 9.027 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.0001021/0.0113, allocations: 124.7 kB / 281.5 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.01151, allocations: 162.9 kB / 281.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.01175, allocations: 224.8 kB / 281.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.01176, allocations: 4 kB / 281.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01176, allocations: 7.938 kB / 281.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.01177, allocations: 3.984 kB / 281.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.01197, allocations: 129.8 kB / 282 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01197, allocations: 0 / 282 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.0124, allocations: 155.8 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.0124, allocations: 4 kB / 282.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.01242, allocations: 7.984 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.01243, allocations: 7.938 kB / 282.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01243, allocations: 0 / 282.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.01271, allocations: 262.4 kB / 282.4 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.01275, allocations: 35.7 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.0128, allocations: 12 kB / 282.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.01291, allocations: 8 kB / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.01295, allocations: 7.922 kB / 282.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.01296, allocations: 16.03 kB / 282.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.01307, allocations: 112.6 kB / 282.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01307, allocations: 0 / 282.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.01329, allocations: 48 kB / 282.7 MB, free: 7.652 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.0001221/0.01341, allocations: 92.28 kB / 282.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.0136, allocations: 111.4 kB / 282.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/0.01361, allocations: 448 / 282.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.01364, allocations: 32.78 kB / 282.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.01407, allocations: 143.5 kB / 283.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.01512, allocations: 0.6662 MB / 283.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.702e-05/0.0152, allocations: 117.1 kB / 283.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.01526, allocations: 30.91 kB / 283.9 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.01538, allocations: 91.36 kB / 284 MB, free: 6.309 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01538, allocations: 0 / 284 MB, free: 6.309 MB / 266.7 MB Notification: Performance of Templates: time 0.006725/0.02211, allocations: 3.738 MB / 287.7 MB, free: 2.637 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] 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","",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.672040600795299]