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.001308/0.001308, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001416/0.001416, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.414/1.414, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001601/0.001601, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.09716, allocations: 53.32 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002758/0.09992, allocations: 1.378 MB / 427.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1993/0.2992, allocations: 12.15 MB / 439.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.2992, allocations: 1.125 kB / 439.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.2993, allocations: 5.812 kB / 439.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.3023, allocations: 1.043 MB / 440.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.304, allocations: 0.6346 MB / 441.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3041, allocations: 64.73 kB / 441.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.3042, allocations: 3.344 kB / 441.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.3042, allocations: 34.14 kB / 441.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.3043, allocations: 32.42 kB / 441.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3043, allocations: 6.562 kB / 441.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.3076, allocations: 1.631 MB / 443.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3076, allocations: 7.141 kB / 443.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3077, allocations: 28.27 kB / 443.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.3103, allocations: 1.067 MB / 444.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3103, allocations: 4.531 kB / 444.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3103, allocations: 0.5 kB / 444.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3103, allocations: 0 / 444.4 MB, free: 2.559 MB / 350.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.0009887/0.3113, allocations: 0.5568 MB / 444.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3113, allocations: 13.88 kB / 445 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.3114, allocations: 41.16 kB / 445 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3115, allocations: 12.36 kB / 445 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3116, allocations: 177.1 kB / 445.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3117, allocations: 2.25 kB / 445.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3117, allocations: 2.75 kB / 445.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3118, allocations: 64.19 kB / 445.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3118, allocations: 0.75 kB / 445.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3118, allocations: 9.797 kB / 445.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3118, allocations: 1.156 kB / 445.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.312, allocations: 22.95 kB / 445.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.3121, allocations: 175.8 kB / 445.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.3124, allocations: 84.78 kB / 445.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.3125, allocations: 24.12 kB / 445.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006324/0.3188, allocations: 3.298 MB / 448.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3188, allocations: 40.5 kB / 448.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.3188, allocations: 1.531 kB / 448.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003395/0.3192, allocations: 77.77 kB / 449 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3192, allocations: 79.27 kB / 449.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3193, allocations: 111.9 kB / 449.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3194, allocations: 34.73 kB / 449.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.3194, allocations: 81.83 kB / 449.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.3194, allocations: 23.75 kB / 449.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3195, allocations: 20.39 kB / 449.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3196, allocations: 315.2 kB / 449.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.3197, allocations: 12.12 kB / 449.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.3197, allocations: 27.22 kB / 449.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3198, allocations: 43.48 kB / 449.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3198, allocations: 0 / 449.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001745/0.32, allocations: 77.78 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.32, allocations: 6.438 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.32, allocations: 0.875 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.32, allocations: 1.125 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.3201, allocations: 11.41 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3201, allocations: 0.8125 kB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.3202, allocations: 7 kB / 449.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3202, allocations: 2.859 kB / 449.8 MB, free: 14.11 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 8.82e-05/0.3203, allocations: 112.8 kB / 449.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3203, allocations: 11.08 kB / 449.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3206, allocations: 111.7 kB / 450 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3206, allocations: 4.484 kB / 450.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3206, allocations: 3.938 kB / 450.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3206, allocations: 1.25 kB / 450.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.3207, allocations: 166.5 kB / 450.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3207, allocations: 1.562 kB / 450.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.3208, allocations: 23.19 kB / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3208, allocations: 1.375 kB / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3208, allocations: 2.062 kB / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3208, allocations: 0 / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3208, allocations: 5.375 kB / 450.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.321, allocations: 102.5 kB / 450.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.3211, allocations: 91.19 kB / 450.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3211, allocations: 1.828 kB / 450.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.3212, allocations: 3.828 kB / 450.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.3212, allocations: 13.25 kB / 450.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3212, allocations: 3.781 kB / 450.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.3213, allocations: 91.11 kB / 450.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3213, allocations: 0 / 450.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3224, allocations: 326.4 kB / 450.9 MB, free: 13.35 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.001927/0.3243, allocations: 1.132 MB / 452 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.3245, allocations: 35.31 kB / 452 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3245, allocations: 0 / 452 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.3246, allocations: 19.91 kB / 452.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3248, allocations: 14.52 kB / 452.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.327, allocations: 1.466 MB / 453.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3272, allocations: 0.686 MB / 454.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.3274, allocations: 46.55 kB / 454.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.3274, allocations: 27.73 kB / 454.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3274, allocations: 0 / 454.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.3628, allocations: 10.54 MB / 464.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/8.604, allocations: 4.594 kB / 464.8 MB, free: 6.137 MB / 366.1 MB " [Timeout remaining time 651] (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/jenkins1/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/jenkins1/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: 13.963456355966628]