Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.0007999/0.0007999, allocations: 87.62 kB / 21.44 MB, free: 3.125 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.002972/0.002972, allocations: 161.9 kB / 24.7 MB, free: 8.898 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.8515/0.8515, allocations: 177.1 MB / 205 MB, free: 5.738 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.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.004e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01793/0.01795, allocations: 24.54 MB / 350.4 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.03176, allocations: 22.05 MB / 372.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.03194, allocations: 7.938 kB / 372.4 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.03247, allocations: 274.3 kB / 372.7 MB, free: 412 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.03296, allocations: 389.5 kB / 373.1 MB, free: 20 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.0391, allocations: 4.179 MB / 377.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006657/0.03976, allocations: 0.9577 MB / 378.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.03991, allocations: 81.08 kB / 378.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.04034, allocations: 0.522 MB / 378.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.04057, allocations: 271.2 kB / 379.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.04061, allocations: 36 kB / 379.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009103/0.04971, allocations: 10.17 MB / 389.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.04981, allocations: 111.6 kB / 389.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.04994, allocations: 171.7 kB / 389.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.06245, allocations: 12 MB / 401.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.06246, allocations: 4 kB / 401.6 MB, free: 3.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.06246, allocations: 0 / 401.6 MB, free: 3.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.06246, allocations: 0 / 401.6 MB, free: 3.473 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003678/0.06614, allocations: 1.104 MB / 402.7 MB, free: 2.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.06618, allocations: 8.031 kB / 402.7 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.06651, allocations: 67.73 kB / 402.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.06687, allocations: 268.6 kB / 403 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.06689, allocations: 24.66 kB / 403 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.06693, allocations: 31.94 kB / 403.1 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.06763, allocations: 0.6074 MB / 403.7 MB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.06765, allocations: 0 / 403.7 MB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.06768, allocations: 23.92 kB / 403.7 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.06768, allocations: 8 kB / 403.7 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.0681, allocations: 382.3 kB / 404.1 MB, free: 0.8281 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.0699, allocations: 2.172 MB / 406.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.0703, allocations: 275.8 kB / 406.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.07043, allocations: 131.5 kB / 406.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.07111, allocations: 467.4 kB / 407.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.07113, allocations: 42.55 kB / 407.1 MB, free: 13.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.07113, allocations: 0 / 407.1 MB, free: 13.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00298/0.07411, allocations: 1.147 MB / 408.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.07414, allocations: 55.41 kB / 408.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.07429, allocations: 239.9 kB / 408.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.07431, allocations: 29.7 kB / 408.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.0744, allocations: 196.3 kB / 408.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.07446, allocations: 123 kB / 408.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.07453, allocations: 86.08 kB / 409 MB, free: 11.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.07461, allocations: 342.8 kB / 409.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.07473, allocations: 113 kB / 409.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.07491, allocations: 230.7 kB / 409.7 MB, free: 11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.07523, allocations: 378 kB / 410 MB, free: 10.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.07524, allocations: 0 / 410 MB, free: 10.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006648/0.0759, allocations: 454.9 kB / 410.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.07592, allocations: 8 kB / 410.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.07592, allocations: 4 kB / 410.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/0.07859, allocations: 249.4 kB / 410.7 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.07877, allocations: 87.84 kB / 410.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/0.07964, allocations: 1.821 MB / 412.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.07973, allocations: 15.94 kB / 412.7 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.07975, allocations: 19.98 kB / 412.7 MB, free: 7.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.07987, allocations: 169.7 kB / 412.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.07994, allocations: 28.06 kB / 412.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/0.08057, allocations: 0.7134 MB / 413.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.08057, allocations: 7.984 kB / 413.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.08057, allocations: 0 / 413.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005042/0.08108, allocations: 0.8763 MB / 414.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/0.08192, allocations: 1.082 MB / 415.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.08192, allocations: 0 / 415.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.08205, allocations: 59.91 kB / 415.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006765/0.08273, allocations: 184.5 kB / 415.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.08274, allocations: 8 kB / 415.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002148/0.08296, allocations: 0.5835 MB / 416.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.08296, allocations: 0 / 416.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.08357, allocations: 0.7393 MB / 417.1 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.0836, allocations: 35.78 kB / 417.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.08362, allocations: 20.09 kB / 417.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.08371, allocations: 8 kB / 417.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.08374, allocations: 23.95 kB / 417.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.08375, allocations: 8 kB / 417.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.08387, allocations: 205.1 kB / 417.4 MB, free: 2.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08387, allocations: 0 / 417.4 MB, free: 2.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002774/0.08665, allocations: 0.7558 MB / 418.2 MB, free: 2.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01418/0.1008, allocations: 6.505 MB / 424.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008195/0.1016, allocations: 473.8 kB / 425.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1017, allocations: 0 / 425.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.1019, allocations: 208.4 kB / 425.3 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.1024, allocations: 164.7 kB / 425.5 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.1034, allocations: 0.8733 MB / 426.4 MB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.1035, allocations: 208.8 kB / 426.6 MB, free: 9.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.1036, allocations: 40.48 kB / 426.6 MB, free: 9.566 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1036, allocations: 0 / 426.6 MB, free: 9.566 MB / 394.7 MB Notification: Performance of Templates: time 0.1514/0.255, allocations: 29.46 MB / 456.1 MB, free: 114 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.144377303309739]