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.001647/0.001647, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.002205/0.002205, allocations: 212 kB / 20.09 MB, free: 2.977 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.629/1.629, allocations: 207.6 MB / 230.5 MB, free: 4.008 MB / 174.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.5103/0.5103, allocations: 44.23 MB / 326.6 MB, free: 6.777 MB / 254.1 MB " [Timeout remaining time 179] 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.002076/0.002076, allocations: 67.91 kB / 462.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2989, allocations: 60.99 MB / 0.5109 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4869/0.7858, allocations: 151 MB / 0.6584 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.7871, allocations: 0.9771 MB / 0.6594 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.7872, allocations: 3.094 kB / 0.6594 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.7875, allocations: 30.19 kB / 0.6594 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008034/0.7883, allocations: 246.1 kB / 0.6596 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.7887, allocations: 112.9 kB / 0.6598 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.789, allocations: 174 kB / 0.6599 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.789, allocations: 7.453 kB / 0.6599 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.7892, allocations: 88.83 kB / 0.66 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.7893, allocations: 53.61 kB / 0.6601 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.7894, allocations: 6.562 kB / 0.6601 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.79, allocations: 263.5 kB / 0.6603 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.7901, allocations: 23.84 kB / 0.6603 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.7902, allocations: 48.06 kB / 0.6604 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.7907, allocations: 290 kB / 0.6607 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7907, allocations: 0 / 0.6607 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.966e-06/0.7907, allocations: 0.9688 kB / 0.6607 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7907, allocations: 2.812 kB / 0.6607 GB, free: 1.445 MB / 0.4981 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.0006921/0.7914, allocations: 405.4 kB / 0.6611 GB, free: 17.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7914, allocations: 14.08 kB / 0.6611 GB, free: 17.06 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.7915, allocations: 43.94 kB / 0.6611 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.7937, allocations: 192 kB / 0.6613 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.7941, allocations: 208.4 kB / 0.6615 GB, free: 16.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.7941, allocations: 12.34 kB / 0.6615 GB, free: 16.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.7942, allocations: 5.469 kB / 0.6615 GB, free: 16.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.7947, allocations: 221 kB / 0.6617 GB, free: 16.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7947, allocations: 1.969 kB / 0.6617 GB, free: 16.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.7948, allocations: 5.969 kB / 0.6617 GB, free: 16.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.7948, allocations: 5.562 kB / 0.6617 GB, free: 16.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.7952, allocations: 169.4 kB / 0.6619 GB, free: 16.75 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.001212/0.7964, allocations: 0.5737 MB / 0.6625 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.7968, allocations: 130.5 kB / 0.6626 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.7969, allocations: 78.5 kB / 0.6627 GB, free: 16.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.7969, allocations: 4.125 kB / 0.6627 GB, free: 16.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.797, allocations: 33.66 kB / 0.6627 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.797, allocations: 5.469 kB / 0.6627 GB, free: 16.23 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.005791/0.8028, allocations: 1.303 MB / 0.664 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.8028, allocations: 54.09 kB / 0.664 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.8029, allocations: 121.7 kB / 0.6641 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.803, allocations: 27.02 kB / 0.6642 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.803, allocations: 99.7 kB / 0.6643 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.8031, allocations: 66 kB / 0.6643 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.8032, allocations: 57.64 kB / 0.6644 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.8033, allocations: 322 kB / 0.6647 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.8035, allocations: 69.36 kB / 0.6647 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.8037, allocations: 104 kB / 0.6648 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.804, allocations: 179.4 kB / 0.665 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.804, allocations: 3.719 kB / 0.665 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004946/0.8045, allocations: 262 kB / 0.6653 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.8045, allocations: 6.5 kB / 0.6653 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.8045, allocations: 2.594 kB / 0.6653 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.8047, allocations: 51.84 kB / 0.6653 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.805, allocations: 52.25 kB / 0.6654 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005134/0.8056, allocations: 0.5726 MB / 0.6659 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.8057, allocations: 7.469 kB / 0.6659 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.8058, allocations: 24.27 kB / 0.666 GB, free: 14.43 MB / 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.0001516/0.8059, allocations: 124.5 kB / 0.6661 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.806, allocations: 8.797 kB / 0.6661 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009097/0.8069, allocations: 346.2 kB / 0.6664 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.8069, allocations: 6.938 kB / 0.6664 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.8069, allocations: 0.5938 kB / 0.6664 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.8069, allocations: 2.609 kB / 0.6664 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.8083, allocations: 0.6237 MB / 0.667 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8083, allocations: 1.781 kB / 0.667 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.8087, allocations: 64.95 kB / 0.6671 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/0.8088, allocations: 21.03 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.8088, allocations: 14.09 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.8099, allocations: 1.363 MB / 0.6685 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8099, allocations: 1.375 kB / 0.6685 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.8107, allocations: 443.3 kB / 0.6689 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.8108, allocations: 89.34 kB / 0.669 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.8108, allocations: 6.344 kB / 0.669 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.8111, allocations: 9.906 kB / 0.669 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.8111, allocations: 25.33 kB / 0.669 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.8112, allocations: 37.5 kB / 0.6691 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.117e-05/0.8113, allocations: 90.17 kB / 0.6691 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.8113, allocations: 0.5 kB / 0.6691 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005488/0.8118, allocations: 78.09 kB / 0.6692 GB, free: 12.2 MB / 0.5137 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.001329/0.8131, allocations: 1.014 MB / 0.6702 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.8137, allocations: 202.5 kB / 0.6704 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8137, allocations: 1.938 kB / 0.6704 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.8141, allocations: 220.3 kB / 0.6706 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.8145, allocations: 45.2 kB / 0.6707 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.8178, allocations: 2.072 MB / 0.6727 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.8181, allocations: 0.7051 MB / 0.6734 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003476/0.8185, allocations: 80.56 kB / 0.6734 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.8187, allocations: 72.36 kB / 0.6735 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.8187, allocations: 1.375 kB / 0.6735 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04889/0.8676, allocations: 7.331 MB / 0.6807 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.96, allocations: 7.156 kB / 0.6807 GB, free: 8.461 MB / 0.5137 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/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.24958570599847]