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.001693/0.001693, allocations: 73.48 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001945/0.001945, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00153/0.00153, allocations: 55.41 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09304, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03028/0.1233, allocations: 24.71 MB / 403.6 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02885/0.1522, allocations: 22.09 MB / 425.7 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.1526, allocations: 7.938 kB / 425.7 MB, free: 0.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.1535, allocations: 266.5 kB / 426 MB, free: 416 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008776/0.1544, allocations: 385.8 kB / 426.4 MB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.1662, allocations: 4.093 MB / 430.4 MB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1677, allocations: 0.9621 MB / 431.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1679, allocations: 85.16 kB / 431.5 MB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.1686, allocations: 402.6 kB / 431.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.1691, allocations: 298.8 kB / 432.2 MB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.1691, allocations: 43.94 kB / 432.2 MB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.1893, allocations: 10.14 MB / 442.4 MB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.1895, allocations: 115.5 kB / 442.5 MB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.1899, allocations: 191.3 kB / 442.7 MB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03372/0.2236, allocations: 11.51 MB / 454.2 MB, free: 4.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2236, allocations: 0 / 454.2 MB, free: 4.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2236, allocations: 0 / 454.2 MB, free: 4.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.2236, allocations: 0 / 454.2 MB, free: 4.164 MB / 414.1 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.006662/0.2303, allocations: 1.101 MB / 455.3 MB, free: 3.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2303, allocations: 8.031 kB / 455.3 MB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.2309, allocations: 79.72 kB / 455.3 MB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.2315, allocations: 256.6 kB / 455.6 MB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.2315, allocations: 20.66 kB / 455.6 MB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.2316, allocations: 36 kB / 455.7 MB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2326, allocations: 0.6151 MB / 456.3 MB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2326, allocations: 3.953 kB / 456.3 MB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.2326, allocations: 12 kB / 456.3 MB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2326, allocations: 8 kB / 456.3 MB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.2334, allocations: 390.3 kB / 456.7 MB, free: 1.512 MB / 414.1 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.003207/0.2366, allocations: 2.172 MB / 458.8 MB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.2372, allocations: 281.2 kB / 459.1 MB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.2375, allocations: 128.8 kB / 459.2 MB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.239, allocations: 467.4 kB / 459.7 MB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.239, allocations: 38.5 kB / 459.7 MB, free: 14.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.239, allocations: 0 / 459.7 MB, free: 14.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.00562/0.2446, allocations: 1.147 MB / 460.9 MB, free: 13.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.2447, allocations: 55.41 kB / 460.9 MB, free: 13.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.2449, allocations: 232 kB / 461.2 MB, free: 12.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.245, allocations: 37.7 kB / 461.2 MB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.2451, allocations: 200.3 kB / 461.4 MB, free: 12.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2452, allocations: 126.8 kB / 461.5 MB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2454, allocations: 82.19 kB / 461.6 MB, free: 12.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2455, allocations: 338.8 kB / 461.9 MB, free: 12.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.2457, allocations: 112.9 kB / 462 MB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.246, allocations: 230.7 kB / 462.3 MB, free: 11.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.2467, allocations: 374 kB / 462.6 MB, free: 11.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2467, allocations: 4 kB / 462.6 MB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009949/0.2477, allocations: 462.7 kB / 463.1 MB, free: 10.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.2477, allocations: 7.938 kB / 463.1 MB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.2477, allocations: 4 kB / 463.1 MB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.2536, allocations: 253.9 kB / 463.3 MB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.254, allocations: 87.84 kB / 463.4 MB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.2556, allocations: 1.809 MB / 465.2 MB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2558, allocations: 12 kB / 465.3 MB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.2558, allocations: 20 kB / 465.3 MB, free: 8.484 MB / 430.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: 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.0002177/0.256, allocations: 169 kB / 465.4 MB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.2562, allocations: 31.81 kB / 465.5 MB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.2573, allocations: 0.6985 MB / 466.2 MB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.2573, allocations: 15.92 kB / 466.2 MB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.2573, allocations: 0 / 466.2 MB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009583/0.2583, allocations: 0.8838 MB / 467.1 MB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.2598, allocations: 1.079 MB / 468.1 MB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2598, allocations: 4 kB / 468.2 MB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.26, allocations: 67.91 kB / 468.2 MB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.2616, allocations: 176.5 kB / 468.4 MB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.2616, allocations: 11.98 kB / 468.4 MB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004124/0.262, allocations: 0.5758 MB / 469 MB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.262, allocations: 0 / 469 MB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2631, allocations: 0.7509 MB / 469.7 MB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.2631, allocations: 27.78 kB / 469.8 MB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.2632, allocations: 8 kB / 469.8 MB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2634, allocations: 11.98 kB / 469.8 MB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2634, allocations: 23.95 kB / 469.8 MB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.2634, allocations: 12 kB / 469.8 MB, free: 3.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.2637, allocations: 197.2 kB / 470 MB, free: 3.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2637, allocations: 0 / 470 MB, free: 3.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004123/0.2678, allocations: 0.7636 MB / 470.8 MB, free: 2.785 MB / 430.1 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.2045/0.4723, allocations: 6.4 MB / 477.2 MB, free: 79.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4734, allocations: 477.3 kB / 477.6 MB, free: 79.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4734, allocations: 0 / 477.6 MB, free: 79.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.4737, allocations: 217.1 kB / 477.8 MB, free: 79.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.4749, allocations: 162.8 kB / 478 MB, free: 79.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.4769, allocations: 0.8977 MB / 478.9 MB, free: 79.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.4773, allocations: 207.7 kB / 479.1 MB, free: 79.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006201/0.4779, allocations: 195.6 kB / 479.3 MB, free: 79.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.478, allocations: 34.94 kB / 479.3 MB, free: 79.24 MB / 430.1 MB Notification: Performance of SimCode: time 1.583e-06/0.478, allocations: 4.016 kB / 479.3 MB, free: 79.24 MB / 430.1 MB Notification: Performance of Templates: time 0.03528/0.5133, allocations: 28.49 MB / 0.4959 GB, free: 59.04 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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: 7.976090727024712]