Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001334/0.001334, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001404/0.001404, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.552/1.552, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2403/0.2403, allocations: 46.92 MB / 357.8 MB, free: 10.32 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 0.4916 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1374, allocations: 65.99 MB / 0.556 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5149/0.6523, allocations: 152.7 MB / 0.7052 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.654, allocations: 1.067 MB / 0.7062 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.654, allocations: 0 / 0.7062 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.6543, allocations: 35.81 kB / 0.7062 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008507/0.6552, allocations: 274.5 kB / 0.7065 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.6556, allocations: 111.6 kB / 0.7066 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.6559, allocations: 179.2 kB / 0.7068 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.712e-05/0.6559, allocations: 11.92 kB / 0.7068 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.6562, allocations: 99.67 kB / 0.7069 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.6563, allocations: 63.7 kB / 0.707 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.6564, allocations: 4 kB / 0.707 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.657, allocations: 267.7 kB / 0.7072 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.6571, allocations: 15.98 kB / 0.7072 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.6571, allocations: 51.78 kB / 0.7073 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.6577, allocations: 288.7 kB / 0.7076 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6577, allocations: 0 / 0.7076 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6577, allocations: 0 / 0.7076 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6577, allocations: 4 kB / 0.7076 GB, free: 6.262 MB / 0.5137 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.0005839/0.6583, allocations: 414.9 kB / 0.708 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6583, allocations: 12.03 kB / 0.708 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.149e-05/0.6583, allocations: 192 / 0.708 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.6584, allocations: 38.75 kB / 0.708 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.6606, allocations: 197.1 kB / 0.7082 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.661, allocations: 211.7 kB / 0.7084 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.661, allocations: 8 kB / 0.7084 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.6611, allocations: 8 kB / 0.7084 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.6616, allocations: 220 kB / 0.7086 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.6617, allocations: 0 / 0.7086 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.6617, allocations: 12 kB / 0.7086 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6617, allocations: 0 / 0.7086 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.6622, allocations: 171.8 kB / 0.7088 GB, free: 4.887 MB / 0.5137 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.001168/0.6633, allocations: 0.5732 MB / 0.7094 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.6637, allocations: 134.5 kB / 0.7095 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.6639, allocations: 69.58 kB / 0.7095 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.6639, allocations: 4.234 kB / 0.7096 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.6639, allocations: 38.5 kB / 0.7096 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/0.6639, allocations: 0 / 0.7096 GB, free: 3.996 MB / 0.5137 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.005733/0.6697, allocations: 1.311 MB / 0.7109 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.6697, allocations: 54.78 kB / 0.7109 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.6698, allocations: 117.8 kB / 0.711 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.6699, allocations: 25.7 kB / 0.7111 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.6699, allocations: 104 kB / 0.7112 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.67, allocations: 71.38 kB / 0.7112 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.6701, allocations: 57.69 kB / 0.7113 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6703, allocations: 322.8 kB / 0.7116 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.6704, allocations: 67.97 kB / 0.7117 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.6706, allocations: 103.2 kB / 0.7118 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.671, allocations: 183.3 kB / 0.7119 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.671, allocations: 0 / 0.7119 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005515/0.6716, allocations: 261.2 kB / 0.7122 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6716, allocations: 8.094 kB / 0.7122 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6716, allocations: 0 / 0.7122 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.6718, allocations: 52.83 kB / 0.7122 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.6721, allocations: 55.89 kB / 0.7123 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004927/0.6726, allocations: 0.5602 MB / 0.7128 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.6728, allocations: 12.08 kB / 0.7128 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.6729, allocations: 28 kB / 0.7129 GB, free: 456 kB / 0.5137 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.0001379/0.673, allocations: 124 kB / 0.713 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.6731, allocations: 19.89 kB / 0.713 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008114/0.6739, allocations: 343.9 kB / 0.7133 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6739, allocations: 0 / 0.7133 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6739, allocations: 4 kB / 0.7133 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6739, allocations: 4 kB / 0.7133 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.675, allocations: 0.6279 MB / 0.714 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.675, allocations: 0 / 0.714 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.6753, allocations: 67.83 kB / 0.714 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.373e-05/0.6754, allocations: 28.89 kB / 0.714 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.6755, allocations: 15.98 kB / 0.7141 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.6766, allocations: 1.36 MB / 0.7154 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6766, allocations: 0 / 0.7154 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.6773, allocations: 444.6 kB / 0.7158 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.6774, allocations: 85.06 kB / 0.7159 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.6774, allocations: 4 kB / 0.7159 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.6777, allocations: 8 kB / 0.7159 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.6777, allocations: 23.91 kB / 0.7159 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.6778, allocations: 31.98 kB / 0.716 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.6778, allocations: 87.33 kB / 0.716 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6778, allocations: 11.94 kB / 0.7161 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004297/0.6783, allocations: 75.88 kB / 0.7161 GB, free: 12.84 MB / 0.5294 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.001355/0.6796, allocations: 1.009 MB / 0.7171 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005417/0.6802, allocations: 197.8 kB / 0.7173 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6802, allocations: 0 / 0.7173 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.6805, allocations: 222.5 kB / 0.7175 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.681, allocations: 49.86 kB / 0.7176 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.6839, allocations: 2.072 MB / 0.7196 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.6843, allocations: 0.7085 MB / 0.7203 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002973/0.6846, allocations: 77.39 kB / 0.7204 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.6848, allocations: 67.41 kB / 0.7204 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.6848, allocations: 0 / 0.7204 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.7156, allocations: 7.393 MB / 0.7276 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.95, allocations: 6.172 kB / 0.7276 GB, free: 0.9883 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 16.258105176966637]