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.001832/0.001832, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002218/0.002218, allocations: 213.4 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.382/1.382, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2139/0.2139, allocations: 44.25 MB / 330.3 MB, free: 9.32 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 67.91 kB / 467.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1117, allocations: 61.05 MB / 0.5161 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3528/0.4646, allocations: 129.5 MB / 0.6426 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4659, allocations: 0.8818 MB / 0.6435 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.466, allocations: 0 / 0.6435 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.4662, allocations: 35.75 kB / 0.6435 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006706/0.4669, allocations: 246.5 kB / 0.6437 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.4673, allocations: 116.4 kB / 0.6439 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.4675, allocations: 167.3 kB / 0.644 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.4676, allocations: 7.984 kB / 0.644 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.4678, allocations: 91.56 kB / 0.6441 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.4679, allocations: 51.81 kB / 0.6442 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.4679, allocations: 4 kB / 0.6442 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.4684, allocations: 259.7 kB / 0.6444 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.4685, allocations: 22.83 kB / 0.6444 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.4685, allocations: 47.78 kB / 0.6445 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.469, allocations: 277.4 kB / 0.6447 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.469, allocations: 0 / 0.6447 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.469, allocations: 0 / 0.6447 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.469, allocations: 0 / 0.6447 GB, free: 14.57 MB / 494.1 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.0005212/0.4695, allocations: 329.9 kB / 0.6451 GB, free: 14.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4696, allocations: 12.03 kB / 0.6451 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.4696, allocations: 34.75 kB / 0.6451 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.4717, allocations: 197.1 kB / 0.6453 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.472, allocations: 154.3 kB / 0.6454 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4721, allocations: 15.88 kB / 0.6455 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.4721, allocations: 8 kB / 0.6455 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.4727, allocations: 293.2 kB / 0.6457 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4727, allocations: 4 kB / 0.6457 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.4727, allocations: 8 kB / 0.6458 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4727, allocations: 0 / 0.6458 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.4732, allocations: 171.8 kB / 0.6459 GB, free: 13.28 MB / 494.1 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.001127/0.4743, allocations: 0.5172 MB / 0.6464 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.4747, allocations: 138.5 kB / 0.6466 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4748, allocations: 69.44 kB / 0.6466 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.4749, allocations: 8 kB / 0.6466 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.4749, allocations: 34.56 kB / 0.6467 GB, free: 12.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4749, allocations: 0 / 0.6467 GB, free: 12.45 MB / 494.1 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.005355/0.4802, allocations: 1.151 MB / 0.6478 GB, free: 11.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.4803, allocations: 63.33 kB / 0.6478 GB, free: 11.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4804, allocations: 109.8 kB / 0.648 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.4804, allocations: 37.7 kB / 0.648 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.4805, allocations: 92.03 kB / 0.6481 GB, free: 10.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.98e-05/0.4806, allocations: 71.38 kB / 0.6481 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.4807, allocations: 49.7 kB / 0.6482 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4809, allocations: 326.8 kB / 0.6485 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.481, allocations: 71.89 kB / 0.6486 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.4812, allocations: 103.4 kB / 0.6487 GB, free: 10.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.4816, allocations: 183.3 kB / 0.6488 GB, free: 10.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4816, allocations: 0 / 0.6488 GB, free: 10.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005117/0.4821, allocations: 262.2 kB / 0.6491 GB, free: 9.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4821, allocations: 4 kB / 0.6491 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4821, allocations: 4 kB / 0.6491 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.4823, allocations: 48.83 kB / 0.6491 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.4826, allocations: 59.84 kB / 0.6492 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004887/0.4831, allocations: 0.568 MB / 0.6498 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.4833, allocations: 8.031 kB / 0.6498 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.4834, allocations: 23.98 kB / 0.6498 GB, free: 9.082 MB / 494.1 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 0.0001458/0.4835, allocations: 125.8 kB / 0.6499 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.4836, allocations: 7.953 kB / 0.6499 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.4844, allocations: 346.9 kB / 0.6503 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4844, allocations: 7.938 kB / 0.6503 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4844, allocations: 4 kB / 0.6503 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4844, allocations: 0 / 0.6503 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.4854, allocations: 0.5739 MB / 0.6508 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4854, allocations: 0 / 0.6508 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.4858, allocations: 59.95 kB / 0.6509 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.335e-05/0.4858, allocations: 24.78 kB / 0.6509 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.4859, allocations: 20.08 kB / 0.6509 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.487, allocations: 1.26 MB / 0.6522 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.487, allocations: 3.938 kB / 0.6522 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.4877, allocations: 430.5 kB / 0.6526 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.4877, allocations: 15.92 kB / 0.6526 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4878, allocations: 8.219 kB / 0.6526 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.488, allocations: 8 kB / 0.6526 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.488, allocations: 39.31 kB / 0.6526 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.4881, allocations: 23.98 kB / 0.6527 GB, free: 5.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.4881, allocations: 87.28 kB / 0.6527 GB, free: 5.848 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4881, allocations: 0 / 0.6527 GB, free: 5.848 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.4885, allocations: 83.92 kB / 0.6528 GB, free: 5.766 MB / 494.1 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.001304/0.4899, allocations: 1.009 MB / 0.6538 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.4904, allocations: 200.1 kB / 0.654 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4904, allocations: 11.94 kB / 0.654 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.4907, allocations: 210.5 kB / 0.6542 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.4912, allocations: 48.67 kB / 0.6543 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.494, allocations: 2.081 MB / 0.6563 GB, free: 2.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.984e-05/0.4941, allocations: 93.97 kB / 0.6564 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003223/0.4944, allocations: 77.39 kB / 0.6565 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.4946, allocations: 71.38 kB / 0.6565 GB, free: 1.785 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4946, allocations: 4 kB / 0.6565 GB, free: 1.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.5336, allocations: 7.852 MB / 0.6642 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.64, allocations: 11.41 kB / 0.6642 GB, free: 9.914 MB / 0.4981 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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: 16.549259659834206]