Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.001948/0.001948, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.002211/0.002211, allocations: 205.8 kB / 24.53 MB, free: 4.055 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.422/1.422, allocations: 230.3 MB / 258 MB, free: 8.23 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.222/0.222, allocations: 46.89 MB / 361.3 MB, free: 4.535 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 0.4966 GB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.313, allocations: 66.03 MB / 0.561 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1791/0.4921, allocations: 152.7 MB / 0.7102 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.4937, allocations: 1.059 MB / 0.7112 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.4937, allocations: 4 kB / 0.7112 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.494, allocations: 39.75 kB / 0.7113 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.4947, allocations: 280.4 kB / 0.7115 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.4951, allocations: 111 kB / 0.7117 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.4954, allocations: 187.2 kB / 0.7118 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.4954, allocations: 4 kB / 0.7118 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.4956, allocations: 103.6 kB / 0.7119 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.4957, allocations: 55.77 kB / 0.712 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.4958, allocations: 4 kB / 0.712 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.4963, allocations: 271.7 kB / 0.7122 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.4963, allocations: 35.84 kB / 0.7123 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.4964, allocations: 39.86 kB / 0.7123 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.4969, allocations: 287.2 kB / 0.7126 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4969, allocations: 0 / 0.7126 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.634e-06/0.4969, allocations: 0 / 0.7126 GB, free: 8.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.4969, allocations: 0 / 0.7126 GB, free: 8.898 MB / 0.545 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.0005973/0.4975, allocations: 415 kB / 0.713 GB, free: 8.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4975, allocations: 16.02 kB / 0.713 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.4976, allocations: 34.75 kB / 0.713 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.4996, allocations: 196.6 kB / 0.7132 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.5, allocations: 207.4 kB / 0.7134 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.5, allocations: 12 kB / 0.7134 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.5, allocations: 4 kB / 0.7134 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.5006, allocations: 226.8 kB / 0.7137 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5006, allocations: 3.938 kB / 0.7137 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.5006, allocations: 0 / 0.7137 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5006, allocations: 4 kB / 0.7137 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.5011, allocations: 171.9 kB / 0.7138 GB, free: 7.527 MB / 0.545 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.001072/0.5021, allocations: 0.5833 MB / 0.7144 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.5025, allocations: 134.5 kB / 0.7145 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.5026, allocations: 68.77 kB / 0.7146 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.5026, allocations: 7.984 kB / 0.7146 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.5027, allocations: 34.81 kB / 0.7146 GB, free: 6.625 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.5027, allocations: 3.938 kB / 0.7146 GB, free: 6.621 MB / 0.545 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.005137/0.5078, allocations: 1.309 MB / 0.7159 GB, free: 5.219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5078, allocations: 59.34 kB / 0.716 GB, free: 5.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.5079, allocations: 105.8 kB / 0.7161 GB, free: 5.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.508, allocations: 33.7 kB / 0.7161 GB, free: 4.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.508, allocations: 95.98 kB / 0.7162 GB, free: 4.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.5081, allocations: 71.41 kB / 0.7163 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.5082, allocations: 57.66 kB / 0.7163 GB, free: 4.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5084, allocations: 330.8 kB / 0.7166 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.5085, allocations: 67.95 kB / 0.7167 GB, free: 4.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.5087, allocations: 107.2 kB / 0.7168 GB, free: 4.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.5091, allocations: 179.3 kB / 0.717 GB, free: 4.062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5091, allocations: 0 / 0.717 GB, free: 4.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005056/0.5096, allocations: 254.3 kB / 0.7172 GB, free: 3.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5096, allocations: 4 kB / 0.7172 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5096, allocations: 4 kB / 0.7172 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.5098, allocations: 56.86 kB / 0.7173 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.5101, allocations: 51.97 kB / 0.7173 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004623/0.5105, allocations: 0.564 MB / 0.7179 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.5107, allocations: 8.031 kB / 0.7179 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.5107, allocations: 23.98 kB / 0.7179 GB, free: 3.066 MB / 0.545 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.0001547/0.5109, allocations: 127.2 kB / 0.718 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.5109, allocations: 11.89 kB / 0.718 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.5117, allocations: 358.2 kB / 0.7184 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5117, allocations: 4 kB / 0.7184 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5117, allocations: 0 / 0.7184 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5117, allocations: 0 / 0.7184 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5128, allocations: 0.627 MB / 0.719 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5128, allocations: 4 kB / 0.719 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.5131, allocations: 59.89 kB / 0.7191 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.848e-05/0.5132, allocations: 20.84 kB / 0.7191 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.5132, allocations: 8 kB / 0.7191 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.5142, allocations: 1.375 MB / 0.7204 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5143, allocations: 8.016 kB / 0.7204 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.515, allocations: 433.2 kB / 0.7208 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.515, allocations: 89.08 kB / 0.7209 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.5151, allocations: 8 kB / 0.7209 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.5153, allocations: 4 kB / 0.7209 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.5153, allocations: 23.95 kB / 0.721 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.5154, allocations: 31.94 kB / 0.721 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.5154, allocations: 87.2 kB / 0.7211 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5154, allocations: 4 kB / 0.7211 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003958/0.5158, allocations: 75.94 kB / 0.7212 GB, free: 15.47 MB / 0.5606 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.001264/0.5171, allocations: 1.016 MB / 0.7221 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.5176, allocations: 204 kB / 0.7223 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5176, allocations: 0 / 0.7223 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.518, allocations: 214.5 kB / 0.7225 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.5184, allocations: 52.5 kB / 0.7226 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.5212, allocations: 2.077 MB / 0.7246 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.5215, allocations: 0.7085 MB / 0.7253 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002955/0.5218, allocations: 81.77 kB / 0.7254 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.522, allocations: 67.39 kB / 0.7255 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.522, allocations: 4 kB / 0.7255 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.5576, allocations: 7.5 MB / 0.7328 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.35, allocations: 3.938 kB / 0.7328 GB, free: 3.449 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 15.508415387012064]