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.001653/0.001653, allocations: 82.25 kB / 21.25 MB, free: 0.5469 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.001968/0.001968, allocations: 159.3 kB / 24.5 MB, free: 3.719 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.511/1.511, allocations: 177.1 MB / 204.7 MB, free: 8.941 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.2324/0.2324, allocations: 34.25 MB / 295.4 MB, free: 14.48 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 0.002444/0.002444, allocations: 75.88 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3249, allocations: 66.06 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.008702/0.3336, allocations: 8.063 MB / 0.5051 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3437, allocations: 11.48 MB / 0.5163 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.3437, allocations: 1.469 kB / 0.5163 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.3439, allocations: 30.47 kB / 0.5164 GB, free: 17.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006583/0.3505, allocations: 2.132 MB / 0.5184 GB, free: 16.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.489e-05/0.3505, allocations: 3.938 kB / 0.5185 GB, free: 16.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3507, allocations: 51.66 kB / 0.5185 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.908e-05/0.3508, allocations: 2.844 kB / 0.5185 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.351, allocations: 34.56 kB / 0.5185 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.351, allocations: 14.52 kB / 0.5186 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.351, allocations: 0 / 0.5186 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.3631, allocations: 5.88 MB / 0.5243 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.3632, allocations: 5.688 kB / 0.5243 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.3632, allocations: 14.3 kB / 0.5243 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.3784, allocations: 4.789 MB / 0.529 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3784, allocations: 0 / 0.529 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3784, allocations: 0 / 0.529 GB, free: 15.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3784, allocations: 1.344 kB / 0.529 GB, free: 15.21 MB / 446.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.006014/0.3845, allocations: 0.5711 MB / 0.5295 GB, free: 14.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3845, allocations: 9.188 kB / 0.5296 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.3846, allocations: 15.7 kB / 0.5296 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.406e-05/0.3847, allocations: 104.4 kB / 0.5297 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.3847, allocations: 6.594 kB / 0.5297 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3848, allocations: 7.781 kB / 0.5297 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.3851, allocations: 111.9 kB / 0.5298 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3851, allocations: 5.312 kB / 0.5298 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3851, allocations: 0 / 0.5298 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3851, allocations: 1.375 kB / 0.5298 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.3855, allocations: 135.2 kB / 0.5299 GB, free: 14.53 MB / 446.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.000478/0.3859, allocations: 296.7 kB / 0.5302 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.3863, allocations: 68.81 kB / 0.5303 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3864, allocations: 33.08 kB / 0.5303 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/0.3896, allocations: 0.8623 MB / 0.5311 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3896, allocations: 35.62 kB / 0.5312 GB, free: 14.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3896, allocations: 5.312 kB / 0.5312 GB, free: 14.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006237/0.3902, allocations: 140.2 kB / 0.5313 GB, free: 13.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.3902, allocations: 56.73 kB / 0.5314 GB, free: 13.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.3903, allocations: 104.4 kB / 0.5315 GB, free: 13.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.3903, allocations: 25.81 kB / 0.5315 GB, free: 13.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.3903, allocations: 94.88 kB / 0.5316 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3903, allocations: 21.45 kB / 0.5316 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3904, allocations: 26.7 kB / 0.5316 GB, free: 13.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.3904, allocations: 322.3 kB / 0.5319 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3905, allocations: 27.2 kB / 0.532 GB, free: 13.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3906, allocations: 43.3 kB / 0.532 GB, free: 13.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3908, allocations: 63.19 kB / 0.5321 GB, free: 13.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3908, allocations: 0 / 0.5321 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002822/0.3911, allocations: 110 kB / 0.5322 GB, free: 13.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3911, allocations: 5.375 kB / 0.5322 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3911, allocations: 1.125 kB / 0.5322 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3911, allocations: 1.125 kB / 0.5322 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3913, allocations: 17.16 kB / 0.5322 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3913, allocations: 2.031 kB / 0.5322 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.3913, allocations: 16.88 kB / 0.5322 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3914, allocations: 7.188 kB / 0.5322 GB, free: 13.15 MB / 446.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 5.775e-05/0.3914, allocations: 120.8 kB / 0.5323 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.3915, allocations: 3.172 kB / 0.5323 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.3919, allocations: 253.3 kB / 0.5326 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3919, allocations: 6.203 kB / 0.5326 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3919, allocations: 0 / 0.5326 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3919, allocations: 9.797 kB / 0.5326 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3921, allocations: 170.9 kB / 0.5328 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3921, allocations: 0.7969 kB / 0.5328 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.3922, allocations: 23 kB / 0.5328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3922, allocations: 1.531 kB / 0.5328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3922, allocations: 6.375 kB / 0.5328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3922, allocations: 0 / 0.5328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3922, allocations: 0 / 0.5328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.3926, allocations: 264.7 kB / 0.533 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.3926, allocations: 14.61 kB / 0.5331 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3926, allocations: 1.281 kB / 0.5331 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.3927, allocations: 2.688 kB / 0.5331 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3927, allocations: 16.47 kB / 0.5331 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.3927, allocations: 2.906 kB / 0.5331 GB, free: 12.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.3927, allocations: 78.41 kB / 0.5332 GB, free: 12.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3927, allocations: 0 / 0.5332 GB, free: 12.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004442/0.3972, allocations: 377.3 kB / 0.5335 GB, free: 12.34 MB / 446.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.01621/0.4134, allocations: 3.559 MB / 0.537 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.4138, allocations: 95.81 kB / 0.5371 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4138, allocations: 0 / 0.5371 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.414, allocations: 66.03 kB / 0.5371 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.4144, allocations: 22.89 kB / 0.5372 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.4151, allocations: 262 kB / 0.5374 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.4151, allocations: 85.52 kB / 0.5375 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.4153, allocations: 54.92 kB / 0.5376 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.4153, allocations: 15.34 kB / 0.5376 GB, free: 10.01 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4153, allocations: 1.156 kB / 0.5376 GB, free: 10.01 MB / 446.1 MB Notification: Performance of Templates: time 0.0238/0.4391, allocations: 16.31 MB / 0.5535 GB, free: 11.64 MB / 462.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/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.541246094042435]