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.001287/0.001287, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001455/0.001455, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.393/1.393, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001546/0.001546, allocations: 51.92 kB / 377.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2744, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002815/0.2772, allocations: 1.343 MB / 432.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.2911, allocations: 10.71 MB / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.2912, allocations: 0 / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.2912, allocations: 3.938 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.294, allocations: 1.011 MB / 444.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2956, allocations: 0.6407 MB / 444.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2957, allocations: 67.7 kB / 444.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.2957, allocations: 3.984 kB / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.2958, allocations: 23.94 kB / 444.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.2958, allocations: 39.83 kB / 444.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2959, allocations: 8 kB / 444.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.2984, allocations: 1.561 MB / 446.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.2984, allocations: 15.97 kB / 446.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.2985, allocations: 19.88 kB / 446.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.3001, allocations: 1.052 MB / 447.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3001, allocations: 0 / 447.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3001, allocations: 0 / 447.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3001, allocations: 0 / 447.6 MB, free: 6.059 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.0007335/0.3008, allocations: 488.2 kB / 448.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3009, allocations: 12.02 kB / 448.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.3009, allocations: 38.75 kB / 448.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.301, allocations: 12.89 kB / 448.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3012, allocations: 118.5 kB / 448.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3012, allocations: 4.375 kB / 448.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3012, allocations: 4.312 kB / 448.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3014, allocations: 126.7 kB / 448.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3014, allocations: 3.984 kB / 448.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3014, allocations: 0 / 448.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3014, allocations: 0 / 448.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3015, allocations: 31.91 kB / 448.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.3017, allocations: 145.7 kB / 448.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.302, allocations: 77.19 kB / 448.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.3021, allocations: 29.72 kB / 448.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005971/0.3081, allocations: 1.502 MB / 450.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3081, allocations: 38.56 kB / 450.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3081, allocations: 0 / 450.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003098/0.3084, allocations: 81.59 kB / 450.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3085, allocations: 81.11 kB / 450.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3086, allocations: 109.8 kB / 450.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3086, allocations: 29.7 kB / 450.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.3086, allocations: 84.12 kB / 450.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.3087, allocations: 27.78 kB / 450.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.3087, allocations: 17.72 kB / 450.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3088, allocations: 318.8 kB / 450.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.3089, allocations: 16 kB / 450.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.309, allocations: 21.7 kB / 451 MB, free: 2.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.3091, allocations: 42.02 kB / 451 MB, free: 2.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3091, allocations: 0 / 451 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001785/0.3093, allocations: 81.48 kB / 451.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3093, allocations: 8 kB / 451.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3093, allocations: 0 / 451.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3093, allocations: 3.938 kB / 451.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.3094, allocations: 12 kB / 451.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3094, allocations: 7.984 kB / 451.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.3094, allocations: 0 / 451.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3094, allocations: 7.938 kB / 451.1 MB, free: 2.273 MB / 350.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 7.984e-05/0.3095, allocations: 109.8 kB / 451.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.3095, allocations: 11.89 kB / 451.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.3098, allocations: 109.5 kB / 451.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3098, allocations: 0 / 451.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3098, allocations: 0 / 451.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3098, allocations: 0 / 451.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3099, allocations: 132.8 kB / 451.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3099, allocations: 8.062 kB / 451.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.31, allocations: 11.98 kB / 451.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.31, allocations: 4 kB / 451.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.31, allocations: 4 kB / 451.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.31, allocations: 0 / 451.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.31, allocations: 4 kB / 451.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.3102, allocations: 101.9 kB / 451.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.3102, allocations: 19.86 kB / 451.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3103, allocations: 0 / 451.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.3103, allocations: 4 kB / 451.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.3104, allocations: 11.98 kB / 451.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.3104, allocations: 0 / 451.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.655e-05/0.3105, allocations: 99.56 kB / 451.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3105, allocations: 0 / 451.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007589/0.3112, allocations: 326.8 kB / 452.1 MB, free: 1.254 MB / 350.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.001512/0.3127, allocations: 1.127 MB / 453.2 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3129, allocations: 31.97 kB / 453.2 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3129, allocations: 0 / 453.2 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.313, allocations: 23.92 kB / 453.2 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.3132, allocations: 16 kB / 453.3 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3149, allocations: 1.458 MB / 454.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.315, allocations: 63.34 kB / 454.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3151, allocations: 48.2 kB / 454.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.3152, allocations: 31.34 kB / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3152, allocations: 0 / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.3549, allocations: 11.17 MB / 466 MB, free: 3.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.24, allocations: 8.734 kB / 466 MB, free: 3.254 MB / 366.1 MB " [Timeout remaining time 649] (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: 16.56349238799885]