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.001557/0.001557, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001882/0.001882, allocations: 217 kB / 24.5 MB, free: 4.133 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.347/1.347, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.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.207/0.207, allocations: 46.92 MB / 361.5 MB, free: 4.184 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.002334/0.002334, allocations: 79.88 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2892, allocations: 66.07 MB / 0.5619 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01294/0.3022, allocations: 8.487 MB / 0.5702 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01694/0.3191, allocations: 13.11 MB / 0.583 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.3191, allocations: 0 / 0.583 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3194, allocations: 31.81 kB / 0.5831 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.3255, allocations: 2.17 MB / 0.5852 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.629e-06/0.3255, allocations: 0 / 0.5852 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.3256, allocations: 51.61 kB / 0.5852 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.3256, allocations: 0 / 0.5852 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.3258, allocations: 31.86 kB / 0.5853 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.3259, allocations: 23.91 kB / 0.5853 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-06/0.3259, allocations: 0 / 0.5853 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.336, allocations: 6.082 MB / 0.5912 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.3361, allocations: 7.922 kB / 0.5912 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.3361, allocations: 11.94 kB / 0.5912 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.3467, allocations: 4.795 MB / 0.5959 GB, free: 1.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3467, allocations: 7.984 kB / 0.5959 GB, free: 1.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3467, allocations: 0 / 0.5959 GB, free: 1.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3467, allocations: 0 / 0.5959 GB, free: 1.344 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.002801/0.3495, allocations: 0.5697 MB / 0.5965 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3495, allocations: 8.031 kB / 0.5965 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.3497, allocations: 11.97 kB / 0.5965 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3498, allocations: 109.2 kB / 0.5966 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3498, allocations: 8 kB / 0.5966 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3498, allocations: 0 / 0.5966 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.3502, allocations: 117.6 kB / 0.5967 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3502, allocations: 7.938 kB / 0.5967 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.3502, allocations: 0 / 0.5967 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3502, allocations: 4 kB / 0.5967 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.3506, allocations: 123.9 kB / 0.5969 GB, free: 336 kB / 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.0007358/0.3513, allocations: 379 kB / 0.5972 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3516, allocations: 70.53 kB / 0.5973 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3517, allocations: 36.83 kB / 0.5973 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003299/0.355, allocations: 0.8546 MB / 0.5982 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3551, allocations: 34.56 kB / 0.5982 GB, free: 14.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3551, allocations: 0 / 0.5982 GB, free: 14.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007354/0.3558, allocations: 153.5 kB / 0.5983 GB, free: 14.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3558, allocations: 51.41 kB / 0.5984 GB, free: 14.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.356, allocations: 101.8 kB / 0.5985 GB, free: 14.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.356, allocations: 25.7 kB / 0.5985 GB, free: 14.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.3561, allocations: 95.98 kB / 0.5986 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3561, allocations: 19.84 kB / 0.5986 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3561, allocations: 25.72 kB / 0.5986 GB, free: 14.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3563, allocations: 322.8 kB / 0.5989 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.3564, allocations: 27.98 kB / 0.599 GB, free: 14.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.3565, allocations: 37.7 kB / 0.599 GB, free: 13.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3567, allocations: 65.62 kB / 0.5991 GB, free: 13.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3567, allocations: 4 kB / 0.5991 GB, free: 13.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003415/0.3571, allocations: 101.6 kB / 0.5992 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3571, allocations: 4 kB / 0.5992 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3571, allocations: 4 kB / 0.5992 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3571, allocations: 0 / 0.5992 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3572, allocations: 23.92 kB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3573, allocations: 4 kB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.3573, allocations: 15.91 kB / 0.5992 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3573, allocations: 4 kB / 0.5992 GB, free: 13.75 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 8.585e-05/0.3574, allocations: 117.8 kB / 0.5993 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.3575, allocations: 0 / 0.5993 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.358, allocations: 264 kB / 0.5996 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.358, allocations: 4 kB / 0.5996 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.358, allocations: 0 / 0.5996 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.358, allocations: 8.172 kB / 0.5996 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3583, allocations: 196.5 kB / 0.5998 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.3583, allocations: 0 / 0.5998 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3584, allocations: 23.98 kB / 0.5998 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3584, allocations: 7.984 kB / 0.5998 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3584, allocations: 4 kB / 0.5998 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3584, allocations: 4 kB / 0.5998 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3584, allocations: 0.5469 kB / 0.5998 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.3588, allocations: 259.2 kB / 0.6001 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.3588, allocations: 7.953 kB / 0.6001 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3589, allocations: 7.984 kB / 0.6001 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.359, allocations: 0 / 0.6001 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.359, allocations: 15.98 kB / 0.6001 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.359, allocations: 4 kB / 0.6001 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.61e-05/0.3591, allocations: 83.27 kB / 0.6002 GB, free: 12.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 0 / 0.6002 GB, free: 12.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001855/0.3609, allocations: 374.9 kB / 0.6005 GB, free: 12.33 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.01164/0.3726, allocations: 3.572 MB / 0.604 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.373, allocations: 95.81 kB / 0.6041 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.373, allocations: 4 kB / 0.6041 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3731, allocations: 55.97 kB / 0.6042 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3735, allocations: 24.05 kB / 0.6042 GB, free: 8.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.3741, allocations: 286.1 kB / 0.6045 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3745, allocations: 0.6924 MB / 0.6052 GB, free: 7.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.3745, allocations: 27.44 kB / 0.6052 GB, free: 7.508 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3745, allocations: 0 / 0.6052 GB, free: 7.508 MB / 446.1 MB Notification: Performance of Templates: time 0.02375/0.3983, allocations: 16.89 MB / 0.6217 GB, free: 6.582 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 -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: 8.088680335087702]