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.001696/0.001696, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002024/0.002024, allocations: 216.3 kB / 23.75 MB, free: 4.668 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2256/0.2256, allocations: 46.94 MB / 360.9 MB, free: 4.207 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 0.4962 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 66.03 MB / 0.5606 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1772/0.5161, allocations: 152.7 MB / 0.7098 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.5175, allocations: 1.059 MB / 0.7108 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.5176, allocations: 0 / 0.7108 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.5178, allocations: 35.75 kB / 0.7109 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006515/0.5185, allocations: 280.4 kB / 0.7111 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.5188, allocations: 119.6 kB / 0.7113 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.5191, allocations: 175.3 kB / 0.7114 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.5191, allocations: 4 kB / 0.7114 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.5193, allocations: 107.5 kB / 0.7115 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5194, allocations: 59.77 kB / 0.7116 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.5194, allocations: 4 kB / 0.7116 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.52, allocations: 271.7 kB / 0.7118 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.52, allocations: 27.92 kB / 0.7119 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.5201, allocations: 43.84 kB / 0.7119 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.5205, allocations: 287.2 kB / 0.7122 GB, free: 8.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5205, allocations: 0 / 0.7122 GB, free: 8.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5205, allocations: 0 / 0.7122 GB, free: 8.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.5205, allocations: 0 / 0.7122 GB, free: 8.641 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.000493/0.521, allocations: 337.8 kB / 0.7125 GB, free: 8.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.521, allocations: 12.03 kB / 0.7125 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.5211, allocations: 46.67 kB / 0.7126 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.5231, allocations: 192.6 kB / 0.7128 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.5234, allocations: 149.6 kB / 0.7129 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5234, allocations: 7.938 kB / 0.7129 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.5235, allocations: 16 kB / 0.7129 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.524, allocations: 220 kB / 0.7131 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.524, allocations: 0 / 0.7131 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.524, allocations: 4 kB / 0.7131 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.524, allocations: 4 kB / 0.7131 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.5245, allocations: 167.9 kB / 0.7133 GB, free: 7.43 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.001102/0.5256, allocations: 0.5511 MB / 0.7138 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.5259, allocations: 146.2 kB / 0.714 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5261, allocations: 76.81 kB / 0.714 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.5261, allocations: 256 / 0.714 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.5262, allocations: 42.5 kB / 0.7141 GB, free: 6.551 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.5262, allocations: 0 / 0.7141 GB, free: 6.551 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.005363/0.5315, allocations: 1.155 MB / 0.7152 GB, free: 5.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.5316, allocations: 55.41 kB / 0.7153 GB, free: 5.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5317, allocations: 109.8 kB / 0.7154 GB, free: 5.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.5317, allocations: 29.7 kB / 0.7154 GB, free: 5.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.5318, allocations: 95.98 kB / 0.7155 GB, free: 5.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.5319, allocations: 71.42 kB / 0.7156 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.532, allocations: 57.64 kB / 0.7156 GB, free: 4.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5322, allocations: 326.8 kB / 0.7159 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.5323, allocations: 71.97 kB / 0.716 GB, free: 4.492 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.5325, allocations: 102.9 kB / 0.7161 GB, free: 4.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.5329, allocations: 185.6 kB / 0.7163 GB, free: 4.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5329, allocations: 0 / 0.7163 GB, free: 4.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004954/0.5334, allocations: 258.3 kB / 0.7165 GB, free: 3.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5334, allocations: 7.938 kB / 0.7165 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5334, allocations: 0 / 0.7165 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.5336, allocations: 48.83 kB / 0.7166 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.5339, allocations: 56.05 kB / 0.7166 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/0.5344, allocations: 0.5679 MB / 0.7172 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.5346, allocations: 7.984 kB / 0.7172 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.5346, allocations: 28 kB / 0.7172 GB, free: 3.188 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.0001311/0.5348, allocations: 125.9 kB / 0.7173 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.5348, allocations: 15.89 kB / 0.7173 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007251/0.5355, allocations: 342 kB / 0.7177 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5355, allocations: 7.938 kB / 0.7177 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5355, allocations: 0 / 0.7177 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5355, allocations: 0 / 0.7177 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5365, allocations: 0.6026 MB / 0.7183 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5366, allocations: 0 / 0.7183 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.5369, allocations: 63.89 kB / 0.7183 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.035e-05/0.537, allocations: 20.84 kB / 0.7184 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.537, allocations: 12 kB / 0.7184 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009702/0.538, allocations: 1.263 MB / 0.7196 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.538, allocations: 12.17 kB / 0.7196 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.5387, allocations: 430.6 kB / 0.72 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.5387, allocations: 11.98 kB / 0.72 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.5387, allocations: 8.062 kB / 0.72 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.5389, allocations: 8 kB / 0.72 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.539, allocations: 23.95 kB / 0.7201 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.539, allocations: 24 kB / 0.7201 GB, free: 24 kB / 0.545 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.5391, allocations: 95.52 kB / 0.7202 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5391, allocations: 0 / 0.7202 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004097/0.5395, allocations: 79.94 kB / 0.7203 GB, free: 15.85 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.001318/0.5408, allocations: 1.008 MB / 0.7212 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005278/0.5414, allocations: 191.8 kB / 0.7214 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5414, allocations: 4.188 kB / 0.7214 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.5417, allocations: 220.2 kB / 0.7216 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.5422, allocations: 48.17 kB / 0.7217 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.5451, allocations: 2.088 MB / 0.7237 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.5455, allocations: 0.7124 MB / 0.7244 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.5458, allocations: 81.39 kB / 0.7245 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.546, allocations: 67.39 kB / 0.7246 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.546, allocations: 0 / 0.7246 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.5972, allocations: 7.529 MB / 0.7319 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.19, allocations: 11.2 kB / 0.7319 GB, free: 3.832 MB / 0.5606 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.csv","/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.416287319996627]