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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 113.8 kB / 17.12 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 192.6 kB / 20.07 MB, free: 2.98 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.561/1.561, allocations: 207.6 MB / 230.5 MB, free: 4.012 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.3357/0.3357, allocations: 44.23 MB / 326.5 MB, free: 6.836 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.89 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2787, allocations: 61 MB / 0.5109 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4836/0.7623, allocations: 151 MB / 0.6584 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.7636, allocations: 0.9804 MB / 0.6593 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.7637, allocations: 1.75 kB / 0.6593 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.764, allocations: 30.78 kB / 0.6594 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.7646, allocations: 249.9 kB / 0.6596 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.765, allocations: 111 kB / 0.6597 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.7652, allocations: 166.4 kB / 0.6599 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.7652, allocations: 8 kB / 0.6599 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.7654, allocations: 90.81 kB / 0.66 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.7655, allocations: 55.36 kB / 0.66 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.7656, allocations: 5.844 kB / 0.66 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.7661, allocations: 263.7 kB / 0.6603 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.7662, allocations: 22.52 kB / 0.6603 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.7662, allocations: 46.8 kB / 0.6603 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.7667, allocations: 286.3 kB / 0.6606 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7667, allocations: 3 kB / 0.6606 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7667, allocations: 0 / 0.6606 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.7668, allocations: 1.031 kB / 0.6606 GB, free: 1.406 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.0006824/0.7674, allocations: 409 kB / 0.661 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7675, allocations: 14.3 kB / 0.661 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.7675, allocations: 42.84 kB / 0.6611 GB, free: 16.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.7695, allocations: 191 kB / 0.6612 GB, free: 16.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.7698, allocations: 206.4 kB / 0.6614 GB, free: 16.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.7698, allocations: 11.78 kB / 0.6615 GB, free: 16.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.7699, allocations: 8.812 kB / 0.6615 GB, free: 16.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.7704, allocations: 226.1 kB / 0.6617 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.7704, allocations: 2.781 kB / 0.6617 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.7704, allocations: 4.344 kB / 0.6617 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.7705, allocations: 3.625 kB / 0.6617 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.7709, allocations: 170.1 kB / 0.6618 GB, free: 16.71 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.001098/0.772, allocations: 0.5691 MB / 0.6624 GB, free: 16.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.7723, allocations: 139.2 kB / 0.6625 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.7725, allocations: 73.98 kB / 0.6626 GB, free: 16.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.7725, allocations: 2 kB / 0.6626 GB, free: 16.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.7725, allocations: 33 kB / 0.6626 GB, free: 16.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.7725, allocations: 0.75 kB / 0.6626 GB, free: 16.2 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.005212/0.7777, allocations: 1.309 MB / 0.6639 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.7778, allocations: 56.94 kB / 0.664 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.7779, allocations: 112.4 kB / 0.6641 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.7779, allocations: 30.5 kB / 0.6641 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.778, allocations: 99.73 kB / 0.6642 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.778, allocations: 74.67 kB / 0.6643 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.7781, allocations: 49.25 kB / 0.6643 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.7783, allocations: 324.2 kB / 0.6646 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.7785, allocations: 75.31 kB / 0.6647 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.7786, allocations: 103.7 kB / 0.6648 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.7789, allocations: 183 kB / 0.665 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7789, allocations: 1 kB / 0.665 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004239/0.7793, allocations: 257.4 kB / 0.6652 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7793, allocations: 7.266 kB / 0.6652 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.7793, allocations: 4.328 kB / 0.6652 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.7795, allocations: 51.83 kB / 0.6653 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.7798, allocations: 54.73 kB / 0.6653 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/0.7803, allocations: 0.569 MB / 0.6659 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.7804, allocations: 8 kB / 0.6659 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.7805, allocations: 31.34 kB / 0.6659 GB, free: 14.39 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.0001431/0.7806, allocations: 125.6 kB / 0.666 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.7807, allocations: 9.922 kB / 0.6661 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/0.7814, allocations: 339 kB / 0.6664 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.7814, allocations: 10.38 kB / 0.6664 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7814, allocations: 1.531 kB / 0.6664 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7814, allocations: 4.75 kB / 0.6664 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.7825, allocations: 0.615 MB / 0.667 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7825, allocations: 1.75 kB / 0.667 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.7829, allocations: 59.77 kB / 0.6671 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.83e-05/0.783, allocations: 23.78 kB / 0.6671 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.783, allocations: 15 kB / 0.6671 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.7842, allocations: 1.361 MB / 0.6684 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7842, allocations: 4.188 kB / 0.6684 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.785, allocations: 440.2 kB / 0.6688 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.7851, allocations: 90.12 kB / 0.6689 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.7851, allocations: 5.75 kB / 0.6689 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.7854, allocations: 9.906 kB / 0.6689 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.7854, allocations: 22.45 kB / 0.669 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.7855, allocations: 29.52 kB / 0.669 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001039/0.7856, allocations: 85.56 kB / 0.6691 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7856, allocations: 0.6562 kB / 0.6691 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004925/0.7861, allocations: 80.86 kB / 0.6692 GB, free: 12.17 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.7874, allocations: 1.018 MB / 0.6702 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.7879, allocations: 204.2 kB / 0.6703 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7879, allocations: 0 / 0.6703 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.7882, allocations: 223.9 kB / 0.6706 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.7887, allocations: 55.77 kB / 0.6706 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.7915, allocations: 2.068 MB / 0.6726 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.7919, allocations: 0.7056 MB / 0.6733 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003305/0.7922, allocations: 74.25 kB / 0.6734 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.7924, allocations: 72.47 kB / 0.6735 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.7924, allocations: 0 / 0.6735 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04389/0.8363, allocations: 7.33 MB / 0.6806 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.87, allocations: 14.5 kB / 0.6806 GB, free: 8.422 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 & /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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.862470048945397]