Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001906/0.001906, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002267/0.002267, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.37, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01352/0.3836, allocations: 8.054 MB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.3985, allocations: 11.48 MB / 0.5809 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.3985, allocations: 3.938 kB / 0.5809 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3988, allocations: 31.81 kB / 0.5809 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.4056, allocations: 2.138 MB / 0.583 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.143e-06/0.4057, allocations: 0 / 0.583 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.4058, allocations: 55.59 kB / 0.5831 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.4058, allocations: 4 kB / 0.5831 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.406, allocations: 27.86 kB / 0.5831 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.406, allocations: 19.92 kB / 0.5831 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.406, allocations: 0 / 0.5831 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.4167, allocations: 5.875 MB / 0.5888 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.4167, allocations: 3.984 kB / 0.5888 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.4168, allocations: 23.81 kB / 0.5889 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.431, allocations: 4.787 MB / 0.5935 GB, free: 3.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.431, allocations: 0 / 0.5935 GB, free: 3.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.431, allocations: 0 / 0.5935 GB, free: 3.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.431, allocations: 0 / 0.5935 GB, free: 3.582 MB / 430.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.004605/0.4356, allocations: 0.5657 MB / 0.5941 GB, free: 2.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4357, allocations: 8.031 kB / 0.5941 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.4358, allocations: 8 kB / 0.5941 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4359, allocations: 109.2 kB / 0.5942 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.436, allocations: 11.98 kB / 0.5942 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.436, allocations: 7.984 kB / 0.5942 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.4363, allocations: 109.6 kB / 0.5943 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4363, allocations: 7.875 kB / 0.5943 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4364, allocations: 4 kB / 0.5943 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4364, allocations: 0 / 0.5943 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.4367, allocations: 127.9 kB / 0.5945 GB, free: 2.566 MB / 430.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.0005556/0.4372, allocations: 296.2 kB / 0.5948 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.4375, allocations: 70.47 kB / 0.5948 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.4376, allocations: 32.83 kB / 0.5949 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003015/0.4406, allocations: 0.8624 MB / 0.5957 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.4407, allocations: 30.56 kB / 0.5957 GB, free: 1.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.4407, allocations: 0 / 0.5957 GB, free: 1.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006373/0.4413, allocations: 149.6 kB / 0.5959 GB, free: 1.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4414, allocations: 55.41 kB / 0.5959 GB, free: 1.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.4414, allocations: 105.8 kB / 0.596 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4415, allocations: 25.7 kB / 0.596 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.4415, allocations: 88.03 kB / 0.5961 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.4415, allocations: 23.84 kB / 0.5961 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.4416, allocations: 25.66 kB / 0.5962 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4417, allocations: 322.9 kB / 0.5965 GB, free: 408 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.4418, allocations: 31.92 kB / 0.5965 GB, free: 376 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.4419, allocations: 45.64 kB / 0.5966 GB, free: 324 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.4421, allocations: 61.69 kB / 0.5966 GB, free: 256 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4421, allocations: 0 / 0.5966 GB, free: 256 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002889/0.4424, allocations: 105.6 kB / 0.5967 GB, free: 144 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4424, allocations: 8 kB / 0.5967 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4424, allocations: 4.031 kB / 0.5967 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4424, allocations: 0 / 0.5967 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4426, allocations: 19.98 kB / 0.5967 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4426, allocations: 0.5469 kB / 0.5967 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.4426, allocations: 15.88 kB / 0.5968 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.4426, allocations: 4 kB / 0.5968 GB, free: 92 kB / 430.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 0.0001084/0.4427, allocations: 121.7 kB / 0.5969 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.4428, allocations: 8 kB / 0.5969 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.4433, allocations: 245.5 kB / 0.5971 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.4433, allocations: 4 kB / 0.5971 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4433, allocations: 0 / 0.5971 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4433, allocations: 3.984 kB / 0.5971 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.4435, allocations: 177.1 kB / 0.5973 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4435, allocations: 0 / 0.5973 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.955e-05/0.4436, allocations: 27.92 kB / 0.5973 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4436, allocations: 0 / 0.5973 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4436, allocations: 4.188 kB / 0.5973 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4436, allocations: 3.984 kB / 0.5973 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4436, allocations: 4 kB / 0.5973 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.444, allocations: 261.4 kB / 0.5976 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.444, allocations: 11.89 kB / 0.5976 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.444, allocations: 4 kB / 0.5976 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.4441, allocations: 8 kB / 0.5976 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.4441, allocations: 15.97 kB / 0.5976 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.4441, allocations: 4 kB / 0.5976 GB, free: 15.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.4442, allocations: 75.28 kB / 0.5977 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4442, allocations: 0 / 0.5977 GB, free: 15.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002151/0.4463, allocations: 378.9 kB / 0.5981 GB, free: 14.7 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.01227/0.4586, allocations: 3.562 MB / 0.6015 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.459, allocations: 91.94 kB / 0.6016 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4591, allocations: 0 / 0.6016 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.4592, allocations: 67.84 kB / 0.6017 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.4596, allocations: 23.98 kB / 0.6017 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.4601, allocations: 280 kB / 0.602 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.16e-05/0.4602, allocations: 83.08 kB / 0.6021 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.4603, allocations: 15.44 kB / 0.6021 GB, free: 10.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4603, allocations: 0 / 0.6021 GB, free: 10.52 MB / 446.1 MB Notification: Performance of Templates: time 0.02531/0.4856, allocations: 16.94 MB / 0.6186 GB, free: 9.551 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 9.45688747195527]