Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001278/0.001278, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002195/0.002195, allocations: 212 kB / 24.47 MB, free: 3.547 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.35/1.35, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",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.001903/0.001903, allocations: 63.91 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2776, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002292/0.2799, allocations: 1.332 MB / 397.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.2919, allocations: 10.7 MB / 408.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.292, allocations: 0 / 408.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.292, allocations: 6.281 kB / 408.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.2962, allocations: 1.02 MB / 409.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.2983, allocations: 0.6391 MB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.2985, allocations: 60.69 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.2985, allocations: 6.266 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.2986, allocations: 30.22 kB / 410.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2987, allocations: 28.19 kB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2987, allocations: 2.594 kB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.3038, allocations: 1.493 MB / 411.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.3038, allocations: 10.53 kB / 411.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.3039, allocations: 26.31 kB / 411.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.3076, allocations: 1.045 MB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3076, allocations: 0 / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3076, allocations: 0 / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3076, allocations: 1.312 kB / 412.7 MB, free: 14.69 MB / 334.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.001278/0.3089, allocations: 483.9 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3089, allocations: 13.98 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.309, allocations: 34.75 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3091, allocations: 20.09 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3093, allocations: 123.5 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3093, allocations: 2.719 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3094, allocations: 1.531 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.3096, allocations: 120.7 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3096, allocations: 1.219 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3097, allocations: 0 / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3097, allocations: 1.094 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.3098, allocations: 25.64 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.3101, allocations: 148 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.3104, allocations: 74.84 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.3105, allocations: 25.58 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006114/0.3166, allocations: 1.502 MB / 415.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.3166, allocations: 37.34 kB / 415.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.3166, allocations: 7.938 kB / 415.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004031/0.317, allocations: 85.08 kB / 415.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.3171, allocations: 86.44 kB / 415.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3173, allocations: 110.6 kB / 415.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3173, allocations: 26.86 kB / 415.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.3174, allocations: 85.23 kB / 415.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.3174, allocations: 19.09 kB / 415.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.3175, allocations: 18.98 kB / 415.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3176, allocations: 316 kB / 416.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.3177, allocations: 14.83 kB / 416.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.3178, allocations: 23.12 kB / 416.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3179, allocations: 42.52 kB / 416.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3179, allocations: 0 / 416.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001897/0.3181, allocations: 77.94 kB / 416.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3181, allocations: 6.25 kB / 416.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3181, allocations: 3.984 kB / 416.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3182, allocations: 1.281 kB / 416.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.3182, allocations: 9.438 kB / 416.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3182, allocations: 5.062 kB / 416.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.3183, allocations: 1.25 kB / 416.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3183, allocations: 2.156 kB / 416.3 MB, free: 12.06 MB / 334.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 0.0001334/0.3184, allocations: 117.3 kB / 416.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.3185, allocations: 11.27 kB / 416.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.3188, allocations: 107.7 kB / 416.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3188, allocations: 1.156 kB / 416.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3188, allocations: 1.125 kB / 416.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3188, allocations: 5.188 kB / 416.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.319, allocations: 134 kB / 416.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.319, allocations: 4.781 kB / 416.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.3191, allocations: 9.125 kB / 416.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.3191, allocations: 5.516 kB / 416.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3191, allocations: 1.094 kB / 416.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3191, allocations: 5.016 kB / 416.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3191, allocations: 5.5 kB / 416.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3193, allocations: 100.9 kB / 416.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.3194, allocations: 23.34 kB / 416.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3194, allocations: 9.141 kB / 416.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.3195, allocations: 2.406 kB / 416.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.3195, allocations: 7.266 kB / 416.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3195, allocations: 6.125 kB / 416.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.125e-05/0.3196, allocations: 93.11 kB / 416.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3196, allocations: 3.938 kB / 416.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001137/0.3207, allocations: 325.5 kB / 417.2 MB, free: 11.35 MB / 334.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.002138/0.3229, allocations: 1.128 MB / 418.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3231, allocations: 33.09 kB / 418.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3231, allocations: 1.031 kB / 418.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.3231, allocations: 19.34 kB / 418.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3234, allocations: 13.67 kB / 418.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3255, allocations: 1.463 MB / 419.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.132e-05/0.3256, allocations: 68.86 kB / 419.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.3257, allocations: 51.53 kB / 420 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.3258, allocations: 23.08 kB / 420 MB, free: 9.023 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3258, allocations: 1.062 kB / 420 MB, free: 9.023 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.3719, allocations: 11.13 MB / 431.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 19.77 kB / 431.2 MB, free: 15.75 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.769045227207243]