Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000867/0.000867, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008058/0.0008058, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9209/0.9209, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.132/0.132, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.272e-05, allocations: 6.281 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2864/0.2864, allocations: 129.5 MB / 0.5238 GB, free: 24.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007957/0.2872, allocations: 0.8882 MB / 0.5247 GB, free: 23.75 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.2872, allocations: 5.031 kB / 0.5247 GB, free: 23.74 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.2875, allocations: 25.73 kB / 0.5247 GB, free: 23.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.2879, allocations: 247.7 kB / 0.5249 GB, free: 23.61 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.2882, allocations: 122.5 kB / 0.525 GB, free: 23.55 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2884, allocations: 168.4 kB / 0.5252 GB, free: 23.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2884, allocations: 6.922 kB / 0.5252 GB, free: 23.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.2886, allocations: 115.8 kB / 0.5253 GB, free: 23.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.2887, allocations: 46.84 kB / 0.5254 GB, free: 23.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2887, allocations: 4.312 kB / 0.5254 GB, free: 23.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.2891, allocations: 262.6 kB / 0.5256 GB, free: 23.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.2891, allocations: 25.55 kB / 0.5256 GB, free: 23.33 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.2892, allocations: 28.25 kB / 0.5257 GB, free: 23.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.2896, allocations: 317.8 kB / 0.526 GB, free: 23.22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2896, allocations: 0 / 0.526 GB, free: 23.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2896, allocations: 1.25 kB / 0.526 GB, free: 23.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2896, allocations: 0 / 0.526 GB, free: 23.22 MB / 442.7 MB 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.0003847/0.29, allocations: 335 kB / 0.5263 GB, free: 22.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.29, allocations: 9.906 kB / 0.5263 GB, free: 22.92 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.29, allocations: 44.86 kB / 0.5263 GB, free: 22.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2911, allocations: 203.5 kB / 0.5265 GB, free: 22.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2913, allocations: 148.2 kB / 0.5267 GB, free: 22.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2913, allocations: 11.47 kB / 0.5267 GB, free: 22.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.2914, allocations: 10.31 kB / 0.5267 GB, free: 22.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.2917, allocations: 299.5 kB / 0.527 GB, free: 22.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2917, allocations: 4 kB / 0.527 GB, free: 22.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2918, allocations: 5.312 kB / 0.527 GB, free: 22.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2918, allocations: 2.562 kB / 0.527 GB, free: 22.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.292, allocations: 169.6 kB / 0.5272 GB, free: 22.42 MB / 442.7 MB 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.0006177/0.2926, allocations: 0.5173 MB / 0.5277 GB, free: 21.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.2929, allocations: 142.5 kB / 0.5278 GB, free: 21.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.2929, allocations: 68.5 kB / 0.5279 GB, free: 21.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.293, allocations: 3.25 kB / 0.5279 GB, free: 21.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.293, allocations: 32.53 kB / 0.5279 GB, free: 21.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.293, allocations: 1.156 kB / 0.5279 GB, free: 21.82 MB / 442.7 MB 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.002849/0.2958, allocations: 1.155 MB / 0.529 GB, free: 21.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.2959, allocations: 57.97 kB / 0.5291 GB, free: 21.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.57e-05/0.2959, allocations: 114.3 kB / 0.5292 GB, free: 21.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2959, allocations: 33.64 kB / 0.5292 GB, free: 21.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.296, allocations: 91.67 kB / 0.5293 GB, free: 21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.296, allocations: 72.33 kB / 0.5294 GB, free: 20.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.2961, allocations: 58.58 kB / 0.5294 GB, free: 20.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.28e-05/0.2961, allocations: 321.5 kB / 0.5297 GB, free: 20.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.2962, allocations: 67.75 kB / 0.5298 GB, free: 20.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2963, allocations: 100.2 kB / 0.5299 GB, free: 20.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2965, allocations: 192 kB / 0.5301 GB, free: 20.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2965, allocations: 0.875 kB / 0.5301 GB, free: 20.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002957/0.2968, allocations: 259.3 kB / 0.5303 GB, free: 20.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2968, allocations: 5.906 kB / 0.5303 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2968, allocations: 1.344 kB / 0.5303 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.2969, allocations: 48.77 kB / 0.5304 GB, free: 20.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.2971, allocations: 58.02 kB / 0.5304 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000204/0.2973, allocations: 0.5613 MB / 0.531 GB, free: 19.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.2974, allocations: 8.547 kB / 0.531 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.2974, allocations: 28.56 kB / 0.531 GB, free: 19.73 MB / 442.7 MB 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 7.142e-05/0.2975, allocations: 123.4 kB / 0.5312 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.2975, allocations: 12.42 kB / 0.5312 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.298, allocations: 352.3 kB / 0.5315 GB, free: 19.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.298, allocations: 1.625 kB / 0.5315 GB, free: 19.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.298, allocations: 5.469 kB / 0.5315 GB, free: 19.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.298, allocations: 3.938 kB / 0.5315 GB, free: 19.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.2986, allocations: 0.5672 MB / 0.5321 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.2986, allocations: 1.375 kB / 0.5321 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2988, allocations: 61.25 kB / 0.5321 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.594e-05/0.2988, allocations: 26.66 kB / 0.5321 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.2989, allocations: 15 kB / 0.5322 GB, free: 19.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004459/0.2993, allocations: 1.256 MB / 0.5334 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2993, allocations: 9.062 kB / 0.5334 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.2997, allocations: 431.1 kB / 0.5338 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.2997, allocations: 16.12 kB / 0.5338 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2998, allocations: 15.52 kB / 0.5338 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2999, allocations: 8.938 kB / 0.5338 GB, free: 17.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.2999, allocations: 22.52 kB / 0.5339 GB, free: 17.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.2999, allocations: 28.47 kB / 0.5339 GB, free: 17.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.285e-05/0.3, allocations: 89.05 kB / 0.534 GB, free: 17.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3, allocations: 1.5 kB / 0.534 GB, free: 17.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.3003, allocations: 80 kB / 0.5341 GB, free: 17.36 MB / 442.7 MB 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.0007242/0.301, allocations: 1.006 MB / 0.535 GB, free: 16.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.3013, allocations: 197.2 kB / 0.5352 GB, free: 16.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3013, allocations: 0 / 0.5352 GB, free: 16.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.3015, allocations: 223.6 kB / 0.5354 GB, free: 16.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3018, allocations: 62.25 kB / 0.5355 GB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3033, allocations: 1.998 MB / 0.5375 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.872e-05/0.3034, allocations: 92.53 kB / 0.5375 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.3036, allocations: 77.11 kB / 0.5376 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3037, allocations: 68.52 kB / 0.5377 GB, free: 14.6 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3037, allocations: 0 / 0.5377 GB, free: 14.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.3253, allocations: 7.989 MB / 0.5455 GB, free: 13.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.008, allocations: 7.766 kB / 0.5455 GB, free: 13 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.05145584885031]