Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 60.5 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1012, allocations: 50.55 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006763/0.108, allocations: 4.544 MB / 362.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1103, allocations: 1.806 MB / 363.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.1104, allocations: 7.938 kB / 363.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1107, allocations: 43.67 kB / 363.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.1111, allocations: 123.2 kB / 364 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.1118, allocations: 250.7 kB / 364.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.1122, allocations: 286.9 kB / 364.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.1123, allocations: 17.08 kB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1126, allocations: 139.5 kB / 364.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1127, allocations: 71.75 kB / 364.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.1128, allocations: 12 kB / 364.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.1131, allocations: 95.86 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.1131, allocations: 47.83 kB / 364.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1133, allocations: 75.7 kB / 365 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1136, allocations: 231.6 kB / 365.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1136, allocations: 0 / 365.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1136, allocations: 0 / 365.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1137, allocations: 0 / 365.2 MB, free: 6.301 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.0009798/0.1146, allocations: 495.2 kB / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1147, allocations: 12.03 kB / 365.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.1149, allocations: 24.83 kB / 365.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1152, allocations: 204.2 kB / 366 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1152, allocations: 16.59 kB / 366 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1152, allocations: 12.38 kB / 366 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.1157, allocations: 217.7 kB / 366.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1157, allocations: 3.984 kB / 366.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1157, allocations: 8 kB / 366.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1157, allocations: 7.938 kB / 366.2 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.1162, allocations: 143.8 kB / 366.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1176, allocations: 0.9478 MB / 367.3 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.118, allocations: 154.7 kB / 367.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1181, allocations: 52.83 kB / 367.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.1188, allocations: 0.5032 MB / 368 MB, free: 3.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1188, allocations: 34.56 kB / 368 MB, free: 3.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1188, allocations: 0 / 368 MB, free: 3.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002703/0.1215, allocations: 0.7654 MB / 368.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1216, allocations: 59.41 kB / 368.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1218, allocations: 157.6 kB / 369 MB, free: 2.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.1218, allocations: 29.7 kB / 369.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1219, allocations: 139.8 kB / 369.2 MB, free: 2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.122, allocations: 75 kB / 369.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1221, allocations: 61.59 kB / 369.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1223, allocations: 322.8 kB / 369.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.1225, allocations: 95.62 kB / 369.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.1229, allocations: 189.6 kB / 369.9 MB, free: 1.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.1236, allocations: 296.8 kB / 370.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1236, allocations: 3.938 kB / 370.2 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007418/0.1243, allocations: 317 kB / 370.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1243, allocations: 11.98 kB / 370.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1244, allocations: 4.469 kB / 370.5 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1244, allocations: 4 kB / 370.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.1248, allocations: 83.89 kB / 370.6 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1248, allocations: 11.94 kB / 370.6 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.125, allocations: 15.98 kB / 370.6 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.1251, allocations: 16 kB / 370.7 MB, free: 416 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001413/0.1252, allocations: 142.7 kB / 370.8 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.1253, allocations: 19.75 kB / 370.8 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/0.126, allocations: 238.7 kB / 371.1 MB, free: 0 / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1431/0.2691, allocations: 0 / 371.1 MB, free: 0 / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.2692, allocations: 112 / 371.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.2692, allocations: 3 kB / 371.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.2706, allocations: 0.5941 MB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2706, allocations: 1.312 kB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.2709, allocations: 51.61 kB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.2709, allocations: 2.969 kB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.271, allocations: 9.547 kB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.271, allocations: 4.719 kB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.271, allocations: 1.219 kB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.2718, allocations: 410 kB / 372.1 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.2719, allocations: 105.3 kB / 372.2 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.272, allocations: 3.422 kB / 372.2 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.2722, allocations: 19.31 kB / 372.2 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.2723, allocations: 18.69 kB / 372.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.2723, allocations: 8.984 kB / 372.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.595e-05/0.2724, allocations: 112.1 kB / 372.4 MB, free: 20.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2724, allocations: 0 / 372.4 MB, free: 20.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.2728, allocations: 59.39 kB / 372.4 MB, free: 20.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001935/0.273, allocations: 135.9 kB / 372.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006695/0.2737, allocations: 225.5 kB / 372.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2737, allocations: 1.156 kB / 372.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.274, allocations: 93.72 kB / 372.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.2745, allocations: 44.84 kB / 372.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2755, allocations: 482.7 kB / 373.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2757, allocations: 0.7142 MB / 374.1 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.276, allocations: 46.47 kB / 374.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.2761, allocations: 33.59 kB / 374.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2761, allocations: 0 / 374.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of Templates: time 0.006663/0.2828, allocations: 2.671 MB / 376.9 MB, free: 19.03 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches