Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001214/0.001214, allocations: 115.7 kB / 18.49 MB, free: 4.59 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.001265/0.001265, allocations: 194.5 kB / 21.43 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 47.94 kB / 366.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.09085, allocations: 52.14 MB / 418.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002465/0.09332, allocations: 1.365 MB / 419.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1065, allocations: 12.13 MB / 432 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.1066, allocations: 4 kB / 432 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.1066, allocations: 7.938 kB / 432 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.1092, allocations: 1.045 MB / 433 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1105, allocations: 0.6295 MB / 433.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1106, allocations: 55.72 kB / 433.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.1106, allocations: 8 kB / 433.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.1107, allocations: 31.91 kB / 433.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.1108, allocations: 35.89 kB / 433.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1108, allocations: 4 kB / 433.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.1134, allocations: 1.631 MB / 435.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1134, allocations: 15.92 kB / 435.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.1134, allocations: 19.92 kB / 435.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.115, allocations: 1.076 MB / 436.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.115, allocations: 0 / 436.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.115, allocations: 4 kB / 436.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.115, allocations: 4 kB / 436.5 MB, free: 10.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007764/0.1158, allocations: 0.552 MB / 437.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1158, allocations: 12.03 kB / 437.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.778e-05/0.1158, allocations: 192 / 437.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.1159, allocations: 30.75 kB / 437.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.116, allocations: 16.92 kB / 437.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1161, allocations: 180.2 kB / 437.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1162, allocations: 4.375 kB / 437.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1162, allocations: 12.12 kB / 437.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1163, allocations: 63.39 kB / 437.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1163, allocations: 0 / 437.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1164, allocations: 4 kB / 437.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1164, allocations: 0 / 437.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1165, allocations: 23.92 kB / 437.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.1167, allocations: 186.5 kB / 437.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.117, allocations: 73.19 kB / 437.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.1171, allocations: 33.64 kB / 437.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006541/0.1236, allocations: 3.294 MB / 441 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1237, allocations: 34.56 kB / 441 MB, free: 5.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1237, allocations: 0 / 441 MB, free: 5.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000295/0.1239, allocations: 85.56 kB / 441.1 MB, free: 5.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.124, allocations: 81.11 kB / 441.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1241, allocations: 113.8 kB / 441.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1241, allocations: 25.7 kB / 441.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.1242, allocations: 88.14 kB / 441.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1242, allocations: 19.8 kB / 441.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.1243, allocations: 29.64 kB / 441.5 MB, free: 4.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1244, allocations: 314.8 kB / 441.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.1245, allocations: 15.98 kB / 441.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.1245, allocations: 17.72 kB / 441.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1246, allocations: 41.64 kB / 441.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1246, allocations: 0 / 441.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001686/0.1248, allocations: 69.61 kB / 441.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1248, allocations: 15.94 kB / 441.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1248, allocations: 0 / 441.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1248, allocations: 0 / 441.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.1249, allocations: 11.98 kB / 441.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1249, allocations: 0 / 441.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.1249, allocations: 7.953 kB / 442 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.125, allocations: 0 / 442 MB, free: 4.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.125, allocations: 118.5 kB / 442.1 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1251, allocations: 7.938 kB / 442.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.1253, allocations: 106.2 kB / 442.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1253, allocations: 4.094 kB / 442.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1253, allocations: 0 / 442.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1253, allocations: 3.984 kB / 442.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1255, allocations: 173.5 kB / 442.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1255, allocations: 4 kB / 442.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.1255, allocations: 12 kB / 442.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1255, allocations: 0 / 442.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1256, allocations: 7.984 kB / 442.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1256, allocations: 128 / 442.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1256, allocations: 7.984 kB / 442.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1258, allocations: 101.9 kB / 442.5 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.1258, allocations: 96.98 kB / 442.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1258, allocations: 7.984 kB / 442.6 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.1259, allocations: 3.938 kB / 442.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.1259, allocations: 4 kB / 442.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.126, allocations: 11.98 kB / 442.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.688e-05/0.126, allocations: 87.28 kB / 442.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.126, allocations: 0 / 442.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007211/0.1268, allocations: 330.8 kB / 443 MB, free: 3.188 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001545/0.1283, allocations: 1.123 MB / 444.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1285, allocations: 31.98 kB / 444.2 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1285, allocations: 0 / 444.2 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.1285, allocations: 19.92 kB / 444.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.1287, allocations: 18.23 kB / 444.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1305, allocations: 1.461 MB / 445.7 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1569/0.2873, allocations: 0.6784 MB / 446.4 MB, free: 30.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.2875, allocations: 47.59 kB / 446.4 MB, free: 30.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.2875, allocations: 24.59 kB / 446.4 MB, free: 30.61 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2875, allocations: 0 / 446.4 MB, free: 30.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3169, allocations: 10.58 MB / 457 MB, free: 28.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.456, allocations: 6.844 kB / 457 MB, free: 28.79 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.341912865987979]