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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|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=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 95.94 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002404, allocations: 4 kB / 308.4 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.09927, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002312/0.1016, allocations: 1.903 MB / 361.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1027, allocations: 0.6083 MB / 362.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.1028, allocations: 0 / 362.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.249e-05/0.1029, allocations: 15.8 kB / 362.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1032, allocations: 63.62 kB / 362.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1034, allocations: 71.8 kB / 362.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1037, allocations: 263 kB / 362.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1038, allocations: 72.8 kB / 362.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.104, allocations: 103.4 kB / 363 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1042, allocations: 135.1 kB / 363.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1042, allocations: 8 kB / 363.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.1043, allocations: 12 kB / 363.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.1043, allocations: 47.7 kB / 363.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1044, allocations: 140.8 kB / 363.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1046, allocations: 179.8 kB / 363.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1046, allocations: 0 / 363.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1046, allocations: 0 / 363.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1046, allocations: 0 / 363.5 MB, free: 9.438 MB / 302.1 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.0009682/0.1056, allocations: 0.5765 MB / 364.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1057, allocations: 8.031 kB / 364.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.1057, allocations: 36.47 kB / 364.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.1061, allocations: 316.3 kB / 364.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1061, allocations: 20.41 kB / 364.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.1062, allocations: 20 kB / 364.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.1068, allocations: 369.7 kB / 364.8 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1068, allocations: 3.938 kB / 364.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1068, allocations: 4 kB / 364.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1069, allocations: 4 kB / 364.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1071, allocations: 91.94 kB / 364.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.1077, allocations: 0.5363 MB / 365.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.1084, allocations: 323.2 kB / 365.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.1086, allocations: 142 kB / 365.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1087, allocations: 4 kB / 365.9 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1087, allocations: 42.55 kB / 366 MB, free: 6.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.1087, allocations: 0 / 366 MB, free: 6.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00222/0.1109, allocations: 1.326 MB / 367.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.1111, allocations: 138.7 kB / 367.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1114, allocations: 332.5 kB / 367.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.1115, allocations: 33.7 kB / 367.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.1115, allocations: 145.1 kB / 367.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.1116, allocations: 55.55 kB / 368 MB, free: 4.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1117, allocations: 37.7 kB / 368 MB, free: 4.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1118, allocations: 346.8 kB / 368.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1119, allocations: 72.83 kB / 368.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.1122, allocations: 318.7 kB / 368.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.1127, allocations: 421 kB / 369.1 MB, free: 3.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1127, allocations: 7.938 kB / 369.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005913/0.1133, allocations: 412.8 kB / 369.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1133, allocations: 8 kB / 369.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1133, allocations: 11.94 kB / 369.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.1134, allocations: 12 kB / 369.6 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.1136, allocations: 92.53 kB / 369.7 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.1136, allocations: 23.92 kB / 369.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.1139, allocations: 27.84 kB / 369.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1139, allocations: 28 kB / 369.8 MB, free: 2.566 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (51): * Single equations (assignments): 51 * 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.0001608/0.1141, allocations: 172.9 kB / 369.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.1146, allocations: 285 kB / 370.2 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006313/0.1152, allocations: 384.1 kB / 370.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1152, allocations: 7.984 kB / 370.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1152, allocations: 0 / 370.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1152, allocations: 4 kB / 370.6 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.1156, allocations: 325.3 kB / 370.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1156, allocations: 0 / 370.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.1162, allocations: 131.8 kB / 371 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1162, allocations: 4 kB / 371 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1162, allocations: 11.98 kB / 371.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1163, allocations: 4 kB / 371.1 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1163, allocations: 12 kB / 371.1 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.1172, allocations: 0.7109 MB / 371.8 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.1173, allocations: 116.7 kB / 371.9 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.1174, allocations: 20.05 kB / 371.9 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.1176, allocations: 8 kB / 371.9 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1177, allocations: 7.984 kB / 371.9 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.1177, allocations: 12 kB / 371.9 MB, free: 284 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.118, allocations: 243.1 kB / 372.2 MB, free: 44 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.118, allocations: 0 / 372.2 MB, free: 44 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1871/0.3051, allocations: 61.14 kB / 372.2 MB, free: 19 MB / 302.1 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 (45): * Single equations (assignments): 45 * 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.0002316/0.3054, allocations: 109.8 kB / 372.3 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008109/0.3062, allocations: 306.6 kB / 372.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3062, allocations: 0 / 372.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.3063, allocations: 31.47 kB / 372.7 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.3072, allocations: 212.8 kB / 372.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3087, allocations: 0.9195 MB / 373.8 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.309, allocations: 0.8099 MB / 374.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.3091, allocations: 29.94 kB / 374.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3091, allocations: 1.438 kB / 374.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of Templates: time 0.008549/0.3177, allocations: 3.873 MB / 378.5 MB, free: 17.43 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches