Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0008121/0.0008121, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008681/0.0008681, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8667/0.8667, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.579e-05, allocations: 7.766 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001568/0.001584, allocations: 1.343 MB / 325.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008221/0.009805, allocations: 10.71 MB / 336.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.009852, allocations: 0 / 336.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.009885, allocations: 7.922 kB / 336.6 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.01225, allocations: 1.033 MB / 337.7 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.01349, allocations: 0.6641 MB / 338.3 MB, free: 2.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.01359, allocations: 67.64 kB / 338.4 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.01363, allocations: 4 kB / 338.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.01369, allocations: 35.89 kB / 338.4 MB, free: 1.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.01377, allocations: 27.95 kB / 338.5 MB, free: 1.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.01379, allocations: 4 kB / 338.5 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.01596, allocations: 1.494 MB / 340 MB, free: 476 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.01598, allocations: 8 kB / 340 MB, free: 468 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.01602, allocations: 23.91 kB / 340 MB, free: 444 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.01783, allocations: 1.232 MB / 341.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01783, allocations: 4 kB / 341.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01783, allocations: 0 / 341.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.01784, allocations: 0 / 341.2 MB, free: 15.2 MB / 314.7 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.000651/0.01849, allocations: 495.2 kB / 341.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.01853, allocations: 12.03 kB / 341.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.01856, allocations: 34.75 kB / 341.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.01866, allocations: 12.88 kB / 341.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.01878, allocations: 129.6 kB / 341.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.01879, allocations: 384 / 341.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.0188, allocations: 8.375 kB / 341.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.01895, allocations: 115.4 kB / 342 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.01896, allocations: 192 / 342 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.01897, allocations: 11.92 kB / 342 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.01898, allocations: 3.938 kB / 342 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.01904, allocations: 23.92 kB / 342 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.01919, allocations: 145.7 kB / 342.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.01941, allocations: 73.19 kB / 342.3 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.01945, allocations: 21.77 kB / 342.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002811/0.02226, allocations: 1.505 MB / 343.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.02228, allocations: 34.56 kB / 343.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.02229, allocations: 0 / 343.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002414/0.02253, allocations: 89.84 kB / 343.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.02256, allocations: 77.11 kB / 344 MB, free: 12.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.02264, allocations: 121.8 kB / 344.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.02265, allocations: 25.7 kB / 344.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.02269, allocations: 84.14 kB / 344.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.02272, allocations: 27.78 kB / 344.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.02276, allocations: 13.72 kB / 344.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.02285, allocations: 322.8 kB / 344.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.02288, allocations: 4 kB / 344.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.02292, allocations: 29.7 kB / 344.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.02299, allocations: 45.62 kB / 344.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02299, allocations: 4 kB / 344.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001032/0.02309, allocations: 69.62 kB / 344.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.02311, allocations: 4 kB / 344.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.02311, allocations: 7.938 kB / 344.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.02312, allocations: 0 / 344.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.02317, allocations: 15.92 kB / 344.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.02317, allocations: 0 / 344.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.02319, allocations: 4 kB / 344.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.0232, allocations: 3.938 kB / 344.8 MB, free: 11.42 MB / 314.7 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 5.982e-05/0.02326, allocations: 117.8 kB / 344.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.02328, allocations: 7.953 kB / 344.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.02346, allocations: 109.4 kB / 345 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.02347, allocations: 0 / 345 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.02347, allocations: 0 / 345 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.02347, allocations: 0 / 345 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.02356, allocations: 132.9 kB / 345.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02356, allocations: 4 kB / 345.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.02359, allocations: 19.92 kB / 345.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.0236, allocations: 4 kB / 345.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.0236, allocations: 3.938 kB / 345.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.02361, allocations: 0 / 345.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02361, allocations: 0 / 345.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.02372, allocations: 101.9 kB / 345.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.02375, allocations: 7.984 kB / 345.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.02376, allocations: 3.938 kB / 345.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.02379, allocations: 8 kB / 345.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.02383, allocations: 11.92 kB / 345.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.02384, allocations: 4 kB / 345.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.02388, allocations: 99.25 kB / 345.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02388, allocations: 0 / 345.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006024/0.02448, allocations: 330.8 kB / 345.7 MB, free: 10.39 MB / 314.7 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.001098/0.02558, allocations: 1.154 MB / 346.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.02571, allocations: 47.84 kB / 346.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02571, allocations: 0 / 346.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.02574, allocations: 20.22 kB / 346.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.0259, allocations: 15.97 kB / 346.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.02708, allocations: 1.444 MB / 348.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.02713, allocations: 81.7 kB / 348.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.02721, allocations: 39.89 kB / 348.5 MB, free: 7.441 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.02726, allocations: 24.48 kB / 348.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02726, allocations: 4 kB / 348.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.05061, allocations: 11.36 MB / 359.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.721, allocations: 11.23 kB / 359.9 MB, free: 12.16 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.227864436805248]