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.001755/0.001755, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.002467/0.002467, allocations: 212.4 kB / 23.74 MB, free: 4.695 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2179/0.2179, allocations: 46.94 MB / 360.8 MB, free: 4.195 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.00225/0.00225, allocations: 87.84 kB / 0.4962 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3216, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1782/0.4998, allocations: 152.7 MB / 0.7099 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.5013, allocations: 1.055 MB / 0.7109 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.5014, allocations: 0 / 0.7109 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.5017, allocations: 39.8 kB / 0.711 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007761/0.5024, allocations: 280.4 kB / 0.7112 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.5028, allocations: 111.6 kB / 0.7113 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.5031, allocations: 183.2 kB / 0.7115 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.5031, allocations: 7.984 kB / 0.7115 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.5033, allocations: 99.61 kB / 0.7116 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.5034, allocations: 59.77 kB / 0.7117 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5034, allocations: 4 kB / 0.7117 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.504, allocations: 271.7 kB / 0.7119 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.504, allocations: 27.92 kB / 0.712 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.5041, allocations: 43.84 kB / 0.712 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.5045, allocations: 291.1 kB / 0.7123 GB, free: 8.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5045, allocations: 3.938 kB / 0.7123 GB, free: 8.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5045, allocations: 0 / 0.7123 GB, free: 8.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.5046, allocations: 0 / 0.7123 GB, free: 8.5 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.000551/0.5051, allocations: 333.8 kB / 0.7126 GB, free: 8.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5052, allocations: 12.03 kB / 0.7126 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.5052, allocations: 46.73 kB / 0.7127 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.5072, allocations: 192.6 kB / 0.7128 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.5076, allocations: 149.6 kB / 0.713 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5076, allocations: 8 kB / 0.713 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.5077, allocations: 11.94 kB / 0.713 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.5082, allocations: 222.8 kB / 0.7132 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5082, allocations: 0 / 0.7132 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.5082, allocations: 0 / 0.7132 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.5082, allocations: 4 kB / 0.7132 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.5087, allocations: 175.8 kB / 0.7134 GB, free: 7.293 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.001093/0.5098, allocations: 0.5512 MB / 0.7139 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.5101, allocations: 146.4 kB / 0.7141 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5103, allocations: 67.95 kB / 0.7141 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.5103, allocations: 3.984 kB / 0.7141 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5103, allocations: 38.81 kB / 0.7142 GB, free: 6.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.5103, allocations: 0 / 0.7142 GB, free: 6.422 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.005308/0.5156, allocations: 1.151 MB / 0.7153 GB, free: 5.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5157, allocations: 51.41 kB / 0.7153 GB, free: 5.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.5158, allocations: 109.8 kB / 0.7154 GB, free: 5.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.5158, allocations: 29.7 kB / 0.7155 GB, free: 4.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.5159, allocations: 99.98 kB / 0.7156 GB, free: 4.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.5159, allocations: 71.41 kB / 0.7156 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.516, allocations: 61.64 kB / 0.7157 GB, free: 4.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5162, allocations: 318.8 kB / 0.716 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.5163, allocations: 75.95 kB / 0.7161 GB, free: 4.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.5165, allocations: 103.2 kB / 0.7162 GB, free: 4.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.5169, allocations: 179.3 kB / 0.7163 GB, free: 4.062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5169, allocations: 0 / 0.7163 GB, free: 4.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004973/0.5173, allocations: 265.2 kB / 0.7166 GB, free: 3.797 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5174, allocations: 4 kB / 0.7166 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5174, allocations: 0 / 0.7166 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.5176, allocations: 56.86 kB / 0.7167 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.5179, allocations: 59.89 kB / 0.7167 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/0.5184, allocations: 0.5605 MB / 0.7173 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.5185, allocations: 7.984 kB / 0.7173 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.5186, allocations: 27.98 kB / 0.7173 GB, free: 3.055 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.0001365/0.5187, allocations: 127.2 kB / 0.7174 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.5188, allocations: 15.89 kB / 0.7174 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007469/0.5195, allocations: 347 kB / 0.7178 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5195, allocations: 4 kB / 0.7178 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5195, allocations: 4 kB / 0.7178 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5195, allocations: 0 / 0.7178 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5206, allocations: 0.5988 MB / 0.7184 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5206, allocations: 0 / 0.7184 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.5209, allocations: 59.95 kB / 0.7184 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.898e-05/0.521, allocations: 20.84 kB / 0.7184 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.521, allocations: 12 kB / 0.7184 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.5221, allocations: 1.267 MB / 0.7197 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5221, allocations: 4.031 kB / 0.7197 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.5228, allocations: 437.2 kB / 0.7201 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.5228, allocations: 11.97 kB / 0.7201 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.5228, allocations: 8 kB / 0.7201 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.523, allocations: 8 kB / 0.7201 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.5231, allocations: 19.95 kB / 0.7201 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.5231, allocations: 28 kB / 0.7202 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.5232, allocations: 95.14 kB / 0.7203 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5232, allocations: 0 / 0.7203 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004105/0.5236, allocations: 79.94 kB / 0.7203 GB, free: 15.72 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.00133/0.5249, allocations: 1.012 MB / 0.7213 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.5254, allocations: 196 kB / 0.7215 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5254, allocations: 3.938 kB / 0.7215 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.5258, allocations: 214.6 kB / 0.7217 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.5262, allocations: 56.3 kB / 0.7218 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.529, allocations: 2.085 MB / 0.7238 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.5293, allocations: 0.7085 MB / 0.7245 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.5296, allocations: 73.39 kB / 0.7246 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5298, allocations: 71.33 kB / 0.7246 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5298, allocations: 0 / 0.7246 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.5657, allocations: 7.535 MB / 0.732 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.37, allocations: 4.109 kB / 0.732 GB, free: 3.668 MB / 0.5606 GB " [Timeout remaining time 647] (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.1.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: 16.78791851200367]