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.000869/0.0008691, allocations: 96.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 201.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.8 MB / 246.8 MB, free: 9.762 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002268/0.000227, allocations: 8 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1066, allocations: 51.52 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002832/0.1094, allocations: 1.911 MB / 361.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1108, allocations: 0.5967 MB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.111, allocations: 4 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1111, allocations: 15.8 kB / 361.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1114, allocations: 67.55 kB / 361.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1117, allocations: 59.92 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.1121, allocations: 263 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1123, allocations: 72.81 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1125, allocations: 103.4 kB / 362.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1127, allocations: 131.2 kB / 362.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.1127, allocations: 16 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.087e-05/0.1128, allocations: 12 kB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.1129, allocations: 47.7 kB / 362.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.113, allocations: 140.8 kB / 362.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1133, allocations: 235.2 kB / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1133, allocations: 0 / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1133, allocations: 0 / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1133, allocations: 0 / 362.9 MB, free: 9.402 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.001094/0.1144, allocations: 0.5765 MB / 363.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1144, allocations: 12.03 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1145, allocations: 36.47 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.1149, allocations: 312.4 kB / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.115, allocations: 12.41 kB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.115, allocations: 19.98 kB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.1156, allocations: 373.7 kB / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1157, allocations: 0 / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1157, allocations: 7.984 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1157, allocations: 4 kB / 364.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.1159, allocations: 99.89 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.1166, allocations: 0.5325 MB / 364.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.1173, allocations: 315.7 kB / 365.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1176, allocations: 144 kB / 365.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1176, allocations: 4 kB / 365.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1176, allocations: 46.44 kB / 365.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.333e-06/0.1177, allocations: 0 / 365.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002311/0.12, allocations: 1.325 MB / 366.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.1201, allocations: 142.8 kB / 366.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.1204, allocations: 324.6 kB / 367.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1205, allocations: 33.7 kB / 367.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.1206, allocations: 141.1 kB / 367.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.1206, allocations: 47.53 kB / 367.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1207, allocations: 41.69 kB / 367.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1208, allocations: 346.8 kB / 367.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.121, allocations: 72.83 kB / 367.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.1213, allocations: 314.8 kB / 368.1 MB, free: 3.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.1217, allocations: 424.9 kB / 368.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.1217, allocations: 11.88 kB / 368.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006132/0.1224, allocations: 417.2 kB / 369 MB, free: 2.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1224, allocations: 12.22 kB / 369 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1224, allocations: 8 kB / 369 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1224, allocations: 12 kB / 369 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1227, allocations: 99.83 kB / 369.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.1227, allocations: 11.94 kB / 369.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.1229, allocations: 31.83 kB / 369.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.123, allocations: 24 kB / 369.2 MB, free: 2.539 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.0001524/0.1231, allocations: 169.6 kB / 369.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.1236, allocations: 288.9 kB / 369.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.1242, allocations: 379.4 kB / 370 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1243, allocations: 4 kB / 370 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1243, allocations: 4 kB / 370 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1243, allocations: 3.984 kB / 370 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.1247, allocations: 325.3 kB / 370.3 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1247, allocations: 4 kB / 370.3 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.1252, allocations: 131.8 kB / 370.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.1252, allocations: 4 kB / 370.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.1253, allocations: 7.938 kB / 370.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.237e-06/0.1253, allocations: 4 kB / 370.5 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1253, allocations: 0 / 370.5 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.1263, allocations: 0.7187 MB / 371.2 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.1264, allocations: 120.6 kB / 371.3 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.1264, allocations: 12 kB / 371.3 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.1267, allocations: 12 kB / 371.3 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1267, allocations: 7.984 kB / 371.3 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1267, allocations: 8 kB / 371.3 MB, free: 264 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.127, allocations: 251.1 kB / 371.6 MB, free: 16 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 371.6 MB, free: 16 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1906/0.3176, allocations: 58.73 kB / 371.6 MB, free: 19.04 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.0001936/0.3179, allocations: 108.4 kB / 371.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008273/0.3187, allocations: 304.3 kB / 372 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3187, allocations: 1.5 kB / 372 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.3188, allocations: 29.23 kB / 372.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/0.3197, allocations: 215.4 kB / 372.3 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3212, allocations: 0.8895 MB / 373.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3215, allocations: 0.8058 MB / 374 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.3217, allocations: 35.91 kB / 374 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3218, allocations: 34.17 kB / 374 MB, free: 17.78 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3218, allocations: 0 / 374 MB, free: 17.78 MB / 302.1 MB Notification: Performance of Templates: time 0.009723/0.3315, allocations: 3.246 MB / 377.3 MB, free: 17.57 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches