Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00183/0.00183, allocations: 79.72 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 157.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.006e-05, allocations: 4.812 kB / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.222/0.222, allocations: 8.048 MB / 450.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.2364, allocations: 11.44 MB / 462.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.2365, allocations: 0 / 462.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.2369, allocations: 35.02 kB / 462.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.2476, allocations: 2.165 MB / 464.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.042e-05/0.2476, allocations: 0 / 464.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2477, allocations: 56.38 kB / 464.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.2478, allocations: 3.125 kB / 464.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.248, allocations: 36.55 kB / 464.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.248, allocations: 19.31 kB / 464.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.248, allocations: 0 / 464.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.2624, allocations: 5.884 MB / 470.3 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.2624, allocations: 5.25 kB / 470.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.2625, allocations: 16.98 kB / 470.3 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.2794, allocations: 5.074 MB / 475.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2794, allocations: 0 / 475.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2794, allocations: 1.25 kB / 475.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2794, allocations: 0 / 475.4 MB, free: 4.785 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.004929/0.2844, allocations: 0.5565 MB / 476 MB, free: 4.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2844, allocations: 9.531 kB / 476 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.2846, allocations: 22.19 kB / 476 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.2847, allocations: 103.5 kB / 476.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2847, allocations: 2.312 kB / 476.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.2847, allocations: 11.78 kB / 476.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.285, allocations: 113.2 kB / 476.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.285, allocations: 0 / 476.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2851, allocations: 4 kB / 476.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2851, allocations: 2.844 kB / 476.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.2854, allocations: 136.9 kB / 476.4 MB, free: 4.027 MB / 366.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.0005116/0.2859, allocations: 284.5 kB / 476.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.2862, allocations: 76.42 kB / 476.7 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2863, allocations: 32.69 kB / 476.8 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003089/0.2894, allocations: 0.8732 MB / 477.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.2894, allocations: 30.67 kB / 477.7 MB, free: 3.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2894, allocations: 11.94 kB / 477.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006463/0.2901, allocations: 141.5 kB / 477.8 MB, free: 2.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.2901, allocations: 59.41 kB / 477.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/0.2901, allocations: 97.86 kB / 478 MB, free: 2.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2901, allocations: 25.7 kB / 478 MB, free: 2.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.2902, allocations: 93.95 kB / 478.1 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.2902, allocations: 19.8 kB / 478.1 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.2902, allocations: 29.7 kB / 478.1 MB, free: 2.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.2903, allocations: 314.8 kB / 478.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.2904, allocations: 27.98 kB / 478.5 MB, free: 2.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2905, allocations: 41.69 kB / 478.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.2907, allocations: 68.09 kB / 478.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2907, allocations: 0 / 478.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002795/0.291, allocations: 109.5 kB / 478.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.291, allocations: 11.98 kB / 478.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.291, allocations: 1.875 kB / 478.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.291, allocations: 0 / 478.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.2911, allocations: 23.98 kB / 478.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2911, allocations: 3.938 kB / 478.7 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.2912, allocations: 4 kB / 478.7 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2912, allocations: 0 / 478.7 MB, free: 1.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.1e-05/0.2913, allocations: 113.9 kB / 478.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.2913, allocations: 15.89 kB / 478.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.2918, allocations: 257.4 kB / 479.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2918, allocations: 4 kB / 479.1 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2918, allocations: 0 / 479.1 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2918, allocations: 0 / 479.1 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.2919, allocations: 177.1 kB / 479.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2919, allocations: 0 / 479.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.292, allocations: 27.92 kB / 479.3 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.292, allocations: 6.656 kB / 479.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.292, allocations: 2.125 kB / 479.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.292, allocations: 4 kB / 479.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.292, allocations: 0 / 479.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.2923, allocations: 243.4 kB / 479.6 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.2923, allocations: 15.95 kB / 479.6 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.2924, allocations: 3.938 kB / 479.6 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.2924, allocations: 7.984 kB / 479.6 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.2925, allocations: 11.98 kB / 479.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.2925, allocations: 4 kB / 479.6 MB, free: 0.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.934e-05/0.2925, allocations: 79.27 kB / 479.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2925, allocations: 3.938 kB / 479.7 MB, free: 0.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003763/0.2963, allocations: 382.8 kB / 480.1 MB, free: 0.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01947/0.3157, allocations: 3.618 MB / 483.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.3163, allocations: 91.89 kB / 483.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3163, allocations: 0 / 483.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3164, allocations: 67.97 kB / 483.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3169, allocations: 22.25 kB / 483.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.3176, allocations: 240.2 kB / 484.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3177, allocations: 83.33 kB / 484.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.3178, allocations: 47.09 kB / 484.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.3179, allocations: 20.5 kB / 484.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.3179, allocations: 0 / 484.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of Templates: time 0.02986/0.3478, allocations: 16.39 MB / 0.4889 GB, free: 11.88 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.433473393321037]