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.001348/0.001348, allocations: 122 kB / 17.83 MB, free: 5.242 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.001377/0.001377, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.572/1.572, allocations: 207.6 MB / 231.2 MB, free: 4.09 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.3732/0.3732, allocations: 44.23 MB / 327.3 MB, free: 6.719 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",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.002248/0.002248, allocations: 75.89 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3351, allocations: 61 MB / 0.5116 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.505/0.8401, allocations: 151 MB / 0.6591 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.8416, allocations: 0.9796 MB / 0.6601 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.8417, allocations: 0.7188 kB / 0.6601 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.842, allocations: 31.38 kB / 0.6601 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.8428, allocations: 249.4 kB / 0.6603 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.8432, allocations: 116.1 kB / 0.6604 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.8434, allocations: 168.6 kB / 0.6606 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.8435, allocations: 9.312 kB / 0.6606 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.8437, allocations: 88.09 kB / 0.6607 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.8438, allocations: 51.16 kB / 0.6607 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.8438, allocations: 5.5 kB / 0.6608 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006346/0.8445, allocations: 267.4 kB / 0.661 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.8446, allocations: 22.73 kB / 0.661 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.8446, allocations: 49.44 kB / 0.6611 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.8452, allocations: 281.7 kB / 0.6613 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8452, allocations: 1.938 kB / 0.6613 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8452, allocations: 0.625 kB / 0.6613 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8452, allocations: 0.6094 kB / 0.6613 GB, free: 1.426 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.0007133/0.8459, allocations: 410.1 kB / 0.6617 GB, free: 17.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.846, allocations: 13.61 kB / 0.6618 GB, free: 17.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.13e-05/0.846, allocations: 2.062 kB / 0.6618 GB, free: 17.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.846, allocations: 44.33 kB / 0.6618 GB, free: 17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.8482, allocations: 199.1 kB / 0.662 GB, free: 16.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.8486, allocations: 204.7 kB / 0.6622 GB, free: 16.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.8486, allocations: 10.19 kB / 0.6622 GB, free: 16.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.8487, allocations: 6.125 kB / 0.6622 GB, free: 16.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.8492, allocations: 227.9 kB / 0.6624 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8492, allocations: 0 / 0.6624 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.8492, allocations: 9.203 kB / 0.6624 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.8493, allocations: 2.812 kB / 0.6624 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/0.8497, allocations: 172.9 kB / 0.6626 GB, free: 16.73 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.001185/0.8509, allocations: 0.5695 MB / 0.6631 GB, free: 16.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.8513, allocations: 136.5 kB / 0.6633 GB, free: 16.26 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.8515, allocations: 69.27 kB / 0.6633 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.8515, allocations: 6.5 kB / 0.6634 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.8516, allocations: 34.55 kB / 0.6634 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.8516, allocations: 0 / 0.6634 GB, free: 16.21 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.006024/0.8576, allocations: 1.303 MB / 0.6647 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.8577, allocations: 58.64 kB / 0.6647 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.8578, allocations: 122 kB / 0.6648 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.8578, allocations: 27.81 kB / 0.6649 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.8579, allocations: 94.34 kB / 0.6649 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.8579, allocations: 69.61 kB / 0.665 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.858, allocations: 58.11 kB / 0.6651 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8582, allocations: 320.9 kB / 0.6654 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.8583, allocations: 67.25 kB / 0.6654 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.8585, allocations: 106.6 kB / 0.6655 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.8588, allocations: 185.6 kB / 0.6657 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.8588, allocations: 1.094 kB / 0.6657 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000516/0.8593, allocations: 257.7 kB / 0.666 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.8594, allocations: 5.562 kB / 0.666 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8594, allocations: 2 kB / 0.666 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.8596, allocations: 52.66 kB / 0.666 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.8599, allocations: 50.2 kB / 0.6661 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006272/0.8606, allocations: 0.5743 MB / 0.6666 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.8607, allocations: 8.891 kB / 0.6666 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.8608, allocations: 25.83 kB / 0.6667 GB, free: 14.4 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.0001739/0.861, allocations: 132.4 kB / 0.6668 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.861, allocations: 11.45 kB / 0.6668 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.8618, allocations: 339.5 kB / 0.6671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.8618, allocations: 3.094 kB / 0.6671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8618, allocations: 4.859 kB / 0.6671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.8618, allocations: 0.625 kB / 0.6671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.863, allocations: 0.619 MB / 0.6677 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.863, allocations: 1.781 kB / 0.6677 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.8635, allocations: 66.61 kB / 0.6678 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.554e-05/0.8636, allocations: 17.62 kB / 0.6678 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.8636, allocations: 13.94 kB / 0.6678 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.8649, allocations: 1.371 MB / 0.6692 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8649, allocations: 1 kB / 0.6692 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.8657, allocations: 437.5 kB / 0.6696 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.8658, allocations: 92.02 kB / 0.6697 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.8658, allocations: 6.344 kB / 0.6697 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.8661, allocations: 5.844 kB / 0.6697 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.8661, allocations: 23.81 kB / 0.6697 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/0.8662, allocations: 27.78 kB / 0.6697 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.14e-05/0.8663, allocations: 90.8 kB / 0.6698 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8663, allocations: 0 / 0.6698 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005149/0.8668, allocations: 78.83 kB / 0.6699 GB, free: 12.18 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.00134/0.8681, allocations: 1.017 MB / 0.6709 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.8687, allocations: 199.7 kB / 0.6711 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.8687, allocations: 1.781 kB / 0.6711 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.869, allocations: 227.6 kB / 0.6713 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.8695, allocations: 53.78 kB / 0.6714 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.8724, allocations: 2.075 MB / 0.6734 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.8728, allocations: 0.7048 MB / 0.6741 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003191/0.8731, allocations: 77.17 kB / 0.6741 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.8733, allocations: 67.28 kB / 0.6742 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.8733, allocations: 0.9062 kB / 0.6742 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.9046, allocations: 7.358 MB / 0.6814 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.36, allocations: 6.438 kB / 0.6814 GB, free: 8.414 MB / 0.5137 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.572350522968918]