Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 106.4 kB / 18.32 MB, free: 3.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002426/0.002426, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 207.6 MB / 232.1 MB, free: 3.16 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4511/0.4511, allocations: 44.23 MB / 328.4 MB, free: 6.227 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 72.38 kB / 465.5 MB, free: 45.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1706, allocations: 61.01 MB / 0.5142 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.638/0.8086, allocations: 151.1 MB / 0.6617 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.8107, allocations: 0.9842 MB / 0.6627 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.8109, allocations: 1.094 kB / 0.6627 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.8113, allocations: 29.86 kB / 0.6627 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.8125, allocations: 250.8 kB / 0.6629 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.8131, allocations: 110.7 kB / 0.6631 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.8135, allocations: 168.7 kB / 0.6632 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.997e-05/0.8136, allocations: 13.78 kB / 0.6632 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.8139, allocations: 88.92 kB / 0.6633 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.8141, allocations: 47.75 kB / 0.6634 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.8141, allocations: 5.625 kB / 0.6634 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.815, allocations: 270 kB / 0.6636 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.8151, allocations: 20.22 kB / 0.6636 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.8152, allocations: 46.94 kB / 0.6637 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.8164, allocations: 281.3 kB / 0.6639 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8164, allocations: 0 / 0.6639 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8164, allocations: 1.953 kB / 0.664 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.8164, allocations: 4 kB / 0.664 GB, free: 15.15 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001106/0.8175, allocations: 408.5 kB / 0.6643 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.8176, allocations: 17.5 kB / 0.6644 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.8199, allocations: 192.2 kB / 0.6645 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.8203, allocations: 215.7 kB / 0.6648 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.8204, allocations: 10.81 kB / 0.6648 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.8204, allocations: 8.656 kB / 0.6648 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.821, allocations: 219.2 kB / 0.665 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.821, allocations: 0 / 0.665 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.821, allocations: 5.719 kB / 0.665 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.821, allocations: 2.094 kB / 0.665 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.8215, allocations: 175 kB / 0.6652 GB, free: 14.48 MB / 0.4981 GB 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.001293/0.8228, allocations: 0.572 MB / 0.6657 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.8231, allocations: 143.5 kB / 0.6658 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.8233, allocations: 67.27 kB / 0.6659 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.8233, allocations: 4.156 kB / 0.6659 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.8233, allocations: 34.5 kB / 0.6659 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.8233, allocations: 0 / 0.6659 GB, free: 13.96 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005666/0.829, allocations: 1.305 MB / 0.6672 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.8291, allocations: 56.16 kB / 0.6673 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.8293, allocations: 117 kB / 0.6674 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.8294, allocations: 29.02 kB / 0.6674 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.8295, allocations: 92.28 kB / 0.6675 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.8295, allocations: 77.11 kB / 0.6676 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.8297, allocations: 54.69 kB / 0.6676 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0004411/0.8301, allocations: 326.2 kB / 0.6679 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.8303, allocations: 63.77 kB / 0.668 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.8305, allocations: 100.9 kB / 0.6681 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.8309, allocations: 194 kB / 0.6683 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8309, allocations: 2.75 kB / 0.6683 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005478/0.8314, allocations: 257.9 kB / 0.6685 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8315, allocations: 5 kB / 0.6685 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.8315, allocations: 2.219 kB / 0.6685 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.8317, allocations: 55.02 kB / 0.6686 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.832, allocations: 51.95 kB / 0.6686 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000749/0.8328, allocations: 0.5678 MB / 0.6692 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.833, allocations: 10.14 kB / 0.6692 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.8331, allocations: 26.44 kB / 0.6692 GB, free: 12.13 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001926/0.8333, allocations: 125.8 kB / 0.6694 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.8333, allocations: 9.016 kB / 0.6694 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.8342, allocations: 342.5 kB / 0.6697 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.8342, allocations: 11.12 kB / 0.6697 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.8342, allocations: 2.484 kB / 0.6697 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.8342, allocations: 0 / 0.6697 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.8356, allocations: 0.6309 MB / 0.6703 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8356, allocations: 0 / 0.6703 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.8359, allocations: 60.05 kB / 0.6704 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.517e-05/0.836, allocations: 21.27 kB / 0.6704 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.8361, allocations: 15.08 kB / 0.6704 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.8376, allocations: 1.368 MB / 0.6717 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.8376, allocations: 0 / 0.6717 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.8384, allocations: 439.6 kB / 0.6722 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.8386, allocations: 86.53 kB / 0.6722 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.8386, allocations: 6.781 kB / 0.6723 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.8388, allocations: 10.55 kB / 0.6723 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.8389, allocations: 21.59 kB / 0.6723 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.8389, allocations: 26.44 kB / 0.6723 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.839, allocations: 85.81 kB / 0.6724 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.839, allocations: 0 / 0.6724 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004576/0.8395, allocations: 84.72 kB / 0.6725 GB, free: 9.871 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000518/0.84, allocations: 156 kB / 0.6726 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.8405, allocations: 204.5 kB / 0.6728 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8405, allocations: 3.594 kB / 0.6728 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.8409, allocations: 213.3 kB / 0.673 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.8414, allocations: 49.05 kB / 0.6731 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.8423, allocations: 491.3 kB / 0.6735 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.8427, allocations: 0.7105 MB / 0.6742 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.843, allocations: 77.58 kB / 0.6743 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.8431, allocations: 55.17 kB / 0.6744 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.8431, allocations: 0 / 0.6744 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.0098/0.8529, allocations: 5.706 MB / 0.6799 GB, free: 7.914 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.499971822835505]