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.001842/0.001842, allocations: 114 kB / 20.43 MB, free: 1.457 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.002517/0.002517, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2244/0.2244, allocations: 46.92 MB / 360.8 MB, free: 4.258 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.002434/0.002434, allocations: 75.88 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3199, allocations: 66.09 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1784/0.4984, allocations: 152.7 MB / 0.7099 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.5, allocations: 1.063 MB / 0.7109 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.5, allocations: 4 kB / 0.7109 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.5003, allocations: 27.83 kB / 0.711 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007775/0.5011, allocations: 280.4 kB / 0.7112 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.5015, allocations: 123 kB / 0.7113 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.5018, allocations: 183.2 kB / 0.7115 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.5018, allocations: 3.984 kB / 0.7115 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.502, allocations: 95.62 kB / 0.7116 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.5022, allocations: 55.77 kB / 0.7117 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.5022, allocations: 4 kB / 0.7117 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000617/0.5028, allocations: 275.7 kB / 0.7119 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.5029, allocations: 27.91 kB / 0.712 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.5029, allocations: 43.86 kB / 0.712 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.5034, allocations: 291.1 kB / 0.7123 GB, free: 8.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5034, allocations: 4 kB / 0.7123 GB, free: 8.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5035, allocations: 0 / 0.7123 GB, free: 8.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5035, allocations: 0 / 0.7123 GB, free: 8.504 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.0005272/0.504, allocations: 337.8 kB / 0.7126 GB, free: 8.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.504, allocations: 8.031 kB / 0.7126 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.5041, allocations: 38.75 kB / 0.7126 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.5062, allocations: 196.6 kB / 0.7128 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.5067, allocations: 153.6 kB / 0.713 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.5067, allocations: 11.94 kB / 0.713 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.5067, allocations: 8 kB / 0.713 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.5073, allocations: 222.8 kB / 0.7132 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5073, allocations: 0 / 0.7132 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.5074, allocations: 8 kB / 0.7132 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5074, allocations: 0 / 0.7132 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.5079, allocations: 171.8 kB / 0.7134 GB, free: 7.297 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.00126/0.5091, allocations: 0.5628 MB / 0.7139 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.5095, allocations: 138.4 kB / 0.7141 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.5097, allocations: 68.83 kB / 0.7141 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.5097, allocations: 7.938 kB / 0.7141 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5097, allocations: 34.81 kB / 0.7142 GB, free: 6.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.5097, allocations: 0 / 0.7142 GB, free: 6.418 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.005134/0.5149, allocations: 1.144 MB / 0.7153 GB, free: 5.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.5149, allocations: 59.41 kB / 0.7153 GB, free: 5.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.515, allocations: 109.8 kB / 0.7154 GB, free: 5.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.515, allocations: 33.7 kB / 0.7155 GB, free: 4.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.5151, allocations: 99.95 kB / 0.7156 GB, free: 4.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.5152, allocations: 67.44 kB / 0.7156 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.5153, allocations: 57.64 kB / 0.7157 GB, free: 4.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5154, allocations: 326.8 kB / 0.716 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5156, allocations: 67.97 kB / 0.7161 GB, free: 4.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.5157, allocations: 111.2 kB / 0.7162 GB, free: 4.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.5161, allocations: 179.4 kB / 0.7163 GB, free: 4.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5161, allocations: 0 / 0.7163 GB, free: 4.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005134/0.5166, allocations: 261.2 kB / 0.7166 GB, free: 3.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5166, allocations: 6.344 kB / 0.7166 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5166, allocations: 4 kB / 0.7166 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.5168, allocations: 48.83 kB / 0.7167 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.5172, allocations: 59.89 kB / 0.7167 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004614/0.5176, allocations: 0.568 MB / 0.7173 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.5178, allocations: 4.031 kB / 0.7173 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.5178, allocations: 24 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.0001391/0.518, allocations: 131.1 kB / 0.7174 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.518, allocations: 11.89 kB / 0.7174 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.5188, allocations: 343.1 kB / 0.7178 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5188, allocations: 4 kB / 0.7178 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5188, allocations: 0 / 0.7178 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5188, allocations: 7.922 kB / 0.7178 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.5199, allocations: 0.5871 MB / 0.7183 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5199, allocations: 8.094 kB / 0.7183 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.5202, allocations: 55.95 kB / 0.7184 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.649e-05/0.5203, allocations: 20.84 kB / 0.7184 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.5203, allocations: 15.98 kB / 0.7184 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.5213, allocations: 1.267 MB / 0.7197 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5213, allocations: 0 / 0.7197 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/0.5221, allocations: 437.4 kB / 0.7201 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.5221, allocations: 11.97 kB / 0.7201 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.5221, allocations: 8 kB / 0.7201 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.5223, allocations: 11.94 kB / 0.7201 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.5224, allocations: 35.95 kB / 0.7202 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.5224, allocations: 23.98 kB / 0.7202 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.5225, allocations: 91.53 kB / 0.7203 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5225, allocations: 0 / 0.7203 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004192/0.5229, allocations: 83.92 kB / 0.7203 GB, free: 15.71 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.001266/0.5242, allocations: 1.011 MB / 0.7213 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.5247, allocations: 191.7 kB / 0.7215 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5247, allocations: 0 / 0.7215 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.525, allocations: 218.9 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.0004406/0.5255, allocations: 48.19 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.002799/0.5283, allocations: 2.081 MB / 0.7238 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5286, allocations: 0.7163 MB / 0.7245 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003379/0.529, allocations: 81.38 kB / 0.7246 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5292, allocations: 71.39 kB / 0.7246 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5292, allocations: 0 / 0.7246 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.5698, allocations: 7.521 MB / 0.732 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.41, allocations: 12.05 kB / 0.732 GB, free: 3.668 MB / 0.5606 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.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_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.61787783401087]