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.001018/0.001018, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00114/0.00114, allocations: 169.3 kB / 24.82 MB, free: 8.918 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 1.033/1.033, allocations: 177 MB / 205.1 MB, free: 5.441 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.212e-06/1.212e-06, allocations: 3.938 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.265e-05, allocations: 9.125 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002343/0.002356, allocations: 2.183 MB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.00319, allocations: 0.6003 MB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.003304, allocations: 0 / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.664e-05/0.0034, allocations: 31.61 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.00362, allocations: 79.3 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.003828, allocations: 79.77 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.004054, allocations: 283 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004159, allocations: 49.12 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.004377, allocations: 167.5 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.004493, allocations: 107.5 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.004524, allocations: 20 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.004547, allocations: 20 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.0046, allocations: 63.69 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.004658, allocations: 83.62 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.00509, allocations: 171.2 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005092, allocations: 0 / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005093, allocations: 0 / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005097, allocations: 3.938 kB / 277.2 MB, free: 13.26 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.0006621/0.005759, allocations: 0.6396 MB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.005793, allocations: 11.98 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.005848, allocations: 48.7 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.00606, allocations: 249.5 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.006072, allocations: 12.66 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.006098, allocations: 12.38 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.006405, allocations: 288.2 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.006412, allocations: 0 / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.006428, allocations: 4 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.006433, allocations: 4 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.006491, allocations: 39.91 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.006875, allocations: 474.8 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.007182, allocations: 251.8 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.007257, allocations: 83.16 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.007282, allocations: 19.84 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.007304, allocations: 41.33 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.007306, allocations: 0 / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001001/0.008307, allocations: 0.8046 MB / 280.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.008376, allocations: 138.7 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.00855, allocations: 330.2 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.008568, allocations: 29.7 kB / 280.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.008648, allocations: 204.4 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.008683, allocations: 43.84 kB / 280.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.008722, allocations: 31.36 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.008836, allocations: 0.5157 MB / 281.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.008856, allocations: 15.98 kB / 281.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.00891, allocations: 100.8 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.008989, allocations: 121.3 kB / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.00899, allocations: 0 / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001302/0.009121, allocations: 145.3 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.009131, allocations: 4 kB / 281.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.009136, allocations: 4 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.009146, allocations: 4 kB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.00922, allocations: 35.86 kB / 281.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.009224, allocations: 8.219 kB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.00928, allocations: 15.89 kB / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.009287, allocations: 4 kB / 281.9 MB, free: 8.191 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.341e-05/0.009381, allocations: 172.5 kB / 282.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.009595, allocations: 214.5 kB / 282.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.009847, allocations: 264.8 kB / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.00985, allocations: 4 kB / 282.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.009853, allocations: 3.938 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.009858, allocations: 11.98 kB / 282.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.01003, allocations: 165.1 kB / 282.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01004, allocations: 4 kB / 282.7 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.01031, allocations: 119.8 kB / 282.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01031, allocations: 4 kB / 282.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01032, allocations: 4 kB / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.01032, allocations: 4 kB / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01033, allocations: 128 / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.01051, allocations: 382.8 kB / 283.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.01054, allocations: 43.72 kB / 283.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.01057, allocations: 12 kB / 283.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.01068, allocations: 8 kB / 283.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.0107, allocations: 11.98 kB / 283.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.01071, allocations: 7.938 kB / 283.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.01081, allocations: 234.9 kB / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01081, allocations: 0 / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.01103, allocations: 48 kB / 283.6 MB, free: 6.434 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 7.427e-05/0.0111, allocations: 111.4 kB / 283.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.01125, allocations: 131 kB / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01125, allocations: 0 / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.01128, allocations: 19.62 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.01166, allocations: 144.2 kB / 284 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.01271, allocations: 0.6442 MB / 284.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.01278, allocations: 121 kB / 284.8 MB, free: 5.199 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.01283, allocations: 22.97 kB / 284.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.01295, allocations: 110.2 kB / 284.9 MB, free: 5.066 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01295, allocations: 4 kB / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of Templates: time 0.005079/0.01803, allocations: 3.615 MB / 288.5 MB, free: 1.492 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.652387773152441]