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.001385/0.001385, allocations: 120 kB / 18.49 MB, free: 4.59 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.001495/0.001495, allocations: 214.3 kB / 21.45 MB, free: 1.637 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.399/1.399, allocations: 230.5 MB / 254.7 MB, free: 14.84 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.2165/0.2165, allocations: 46.92 MB / 357.7 MB, free: 10.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.88 kB / 0.4916 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1232, allocations: 66.05 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4171/0.5402, allocations: 152.7 MB / 0.7053 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.5416, allocations: 1.061 MB / 0.7063 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.5417, allocations: 4 kB / 0.7063 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.5419, allocations: 35.77 kB / 0.7063 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000628/0.5426, allocations: 274.5 kB / 0.7066 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.5429, allocations: 109 kB / 0.7067 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.5431, allocations: 183.2 kB / 0.7069 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.5432, allocations: 7.938 kB / 0.7069 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.5434, allocations: 107.5 kB / 0.707 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.5435, allocations: 54.83 kB / 0.707 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.5435, allocations: 4 kB / 0.707 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.544, allocations: 271.7 kB / 0.7073 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.5441, allocations: 23.84 kB / 0.7073 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.5441, allocations: 43.86 kB / 0.7074 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.5446, allocations: 286.7 kB / 0.7076 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5446, allocations: 0 / 0.7076 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5446, allocations: 0 / 0.7076 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.5446, allocations: 7.984 kB / 0.7076 GB, free: 5.973 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.0005379/0.5451, allocations: 411 kB / 0.708 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5452, allocations: 8.031 kB / 0.708 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.401e-05/0.5452, allocations: 4.188 kB / 0.7081 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.5452, allocations: 38.75 kB / 0.7081 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.5474, allocations: 201.1 kB / 0.7083 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.5478, allocations: 207.6 kB / 0.7085 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.5478, allocations: 8 kB / 0.7085 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.5478, allocations: 12 kB / 0.7085 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.5484, allocations: 220 kB / 0.7087 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5484, allocations: 7.922 kB / 0.7087 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.5484, allocations: 8 kB / 0.7087 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5484, allocations: 4 kB / 0.7087 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.5489, allocations: 163.9 kB / 0.7089 GB, free: 4.598 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.001064/0.5499, allocations: 0.5809 MB / 0.7095 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.5503, allocations: 126.5 kB / 0.7096 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.5504, allocations: 76.8 kB / 0.7096 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.5504, allocations: 4.25 kB / 0.7096 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.5505, allocations: 30.56 kB / 0.7097 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.5505, allocations: 0 / 0.7097 GB, free: 3.707 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.005511/0.556, allocations: 1.312 MB / 0.711 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.556, allocations: 59.34 kB / 0.711 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.5561, allocations: 113.8 kB / 0.7111 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.5562, allocations: 25.7 kB / 0.7111 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.5562, allocations: 104 kB / 0.7112 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.5563, allocations: 71.38 kB / 0.7113 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.5564, allocations: 57.69 kB / 0.7114 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5566, allocations: 326.8 kB / 0.7117 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.5567, allocations: 63.97 kB / 0.7117 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.5569, allocations: 107.2 kB / 0.7118 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.5573, allocations: 187.3 kB / 0.712 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5573, allocations: 3.984 kB / 0.712 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005175/0.5578, allocations: 249.1 kB / 0.7123 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5578, allocations: 12.09 kB / 0.7123 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5578, allocations: 0 / 0.7123 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.558, allocations: 52.83 kB / 0.7123 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.5583, allocations: 55.89 kB / 0.7124 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004632/0.5588, allocations: 0.564 MB / 0.7129 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.559, allocations: 16.06 kB / 0.7129 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.559, allocations: 24 kB / 0.713 GB, free: 148 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.0001309/0.5591, allocations: 125.8 kB / 0.7131 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.5592, allocations: 11.91 kB / 0.7131 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.56, allocations: 338.7 kB / 0.7134 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.56, allocations: 4 kB / 0.7134 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.56, allocations: 0 / 0.7134 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.56, allocations: 7.984 kB / 0.7134 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5611, allocations: 0.6229 MB / 0.714 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.5611, allocations: 4 kB / 0.714 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.5614, allocations: 63.88 kB / 0.7141 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-05/0.5615, allocations: 28.89 kB / 0.7141 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.5616, allocations: 15.98 kB / 0.7142 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.5626, allocations: 1.363 MB / 0.7155 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5626, allocations: 0 / 0.7155 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.5633, allocations: 437.9 kB / 0.7159 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.5634, allocations: 85.09 kB / 0.716 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.5634, allocations: 8 kB / 0.716 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.5637, allocations: 11.98 kB / 0.716 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.5637, allocations: 15.98 kB / 0.716 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.5638, allocations: 27.98 kB / 0.716 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.5638, allocations: 95.33 kB / 0.7161 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5638, allocations: 0 / 0.7161 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004068/0.5642, allocations: 79.88 kB / 0.7162 GB, free: 12.55 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.001255/0.5655, allocations: 1.016 MB / 0.7172 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.566, allocations: 195.8 kB / 0.7174 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.566, allocations: 0 / 0.7174 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.5664, allocations: 222.4 kB / 0.7176 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.5668, allocations: 54.81 kB / 0.7177 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.5697, allocations: 2.074 MB / 0.7197 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.57, allocations: 0.7085 MB / 0.7204 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000291/0.5703, allocations: 73.39 kB / 0.7204 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.5705, allocations: 67.41 kB / 0.7205 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.5705, allocations: 0 / 0.7205 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.6011, allocations: 7.391 MB / 0.7277 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.53, allocations: 11.45 kB / 0.7277 GB, free: 0.6602 MB / 0.5294 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 & /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: 15.487909772025887]