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.001726/0.001726, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.002138/0.002138, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.469/1.469, allocations: 207.6 MB / 235.3 MB, free: 10 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.001739/0.001739, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2855, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002289/0.2878, allocations: 1.353 MB / 397.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.2999, allocations: 12.2 MB / 409.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.3, allocations: 3.938 kB / 409.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.3, allocations: 6.109 kB / 409.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.3043, allocations: 1.05 MB / 411 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.3069, allocations: 0.6419 MB / 411.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.3071, allocations: 57.88 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.3072, allocations: 10.3 kB / 411.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.3073, allocations: 29.72 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3074, allocations: 36.67 kB / 411.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3074, allocations: 2.875 kB / 411.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.3128, allocations: 1.644 MB / 413.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.3129, allocations: 10.09 kB / 413.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.3129, allocations: 26.94 kB / 413.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.3159, allocations: 1.076 MB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3159, allocations: 0 / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3159, allocations: 0 / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.316, allocations: 5 kB / 414.5 MB, free: 13.01 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.0009011/0.3169, allocations: 488 kB / 415 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3169, allocations: 16.86 kB / 415 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.317, allocations: 35.89 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3171, allocations: 14.55 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3173, allocations: 116.9 kB / 415.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.3173, allocations: 5.438 kB / 415.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3173, allocations: 2.469 kB / 415.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3175, allocations: 72.67 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3175, allocations: 1.125 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.3175, allocations: 4 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3175, allocations: 1.156 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3176, allocations: 21.77 kB / 415.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.3178, allocations: 147.8 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.3182, allocations: 85.98 kB / 415.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.3182, allocations: 29.05 kB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005959/0.3242, allocations: 1.495 MB / 417 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3242, allocations: 34.56 kB / 417 MB, free: 11.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.3242, allocations: 0 / 417 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003677/0.3246, allocations: 81 kB / 417.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.3247, allocations: 82.09 kB / 417.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3248, allocations: 119.1 kB / 417.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3248, allocations: 30.67 kB / 417.3 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.3249, allocations: 85.33 kB / 417.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3249, allocations: 18.94 kB / 417.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.325, allocations: 21.92 kB / 417.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3251, allocations: 313 kB / 417.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.3252, allocations: 13.77 kB / 417.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.3252, allocations: 34.42 kB / 417.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3254, allocations: 39.2 kB / 417.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3254, allocations: 0 / 417.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001779/0.3255, allocations: 74.02 kB / 417.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3256, allocations: 9.609 kB / 417.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3256, allocations: 0 / 417.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3256, allocations: 1.5 kB / 417.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.3257, allocations: 8.906 kB / 418 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3257, allocations: 1 kB / 418 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.3257, allocations: 6.438 kB / 418 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3257, allocations: 7.203 kB / 418 MB, free: 10.43 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 9.303e-05/0.3258, allocations: 110.9 kB / 418.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.3258, allocations: 11.58 kB / 418.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.3261, allocations: 111.5 kB / 418.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3261, allocations: 1 kB / 418.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3262, allocations: 0.9688 kB / 418.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3262, allocations: 1.031 kB / 418.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.3263, allocations: 138 kB / 418.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3263, allocations: 4.906 kB / 418.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.3264, allocations: 13.58 kB / 418.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3264, allocations: 0 / 418.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3264, allocations: 2.156 kB / 418.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3264, allocations: 1.031 kB / 418.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3264, allocations: 8.312 kB / 418.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3266, allocations: 105 kB / 418.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.3266, allocations: 15.2 kB / 418.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3267, allocations: 1.125 kB / 418.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.3267, allocations: 2.5 kB / 418.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.3268, allocations: 14.48 kB / 418.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3268, allocations: 7.031 kB / 418.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.314e-05/0.3269, allocations: 95.59 kB / 418.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3269, allocations: 1.219 kB / 418.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001038/0.3279, allocations: 325.4 kB / 418.9 MB, free: 9.719 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.001735/0.3296, allocations: 1.122 MB / 420 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3298, allocations: 36.69 kB / 420.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3298, allocations: 1.062 kB / 420.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.3299, allocations: 15.59 kB / 420.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.3301, allocations: 22.42 kB / 420.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.332, allocations: 1.448 MB / 421.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3324, allocations: 0.6896 MB / 422.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3325, allocations: 46.78 kB / 422.3 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.3326, allocations: 28.42 kB / 422.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3326, allocations: 0 / 422.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.376, allocations: 10.66 MB / 433 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 4.062 kB / 433 MB, free: 14.13 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable s2 in file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv. Warning: Get data of variable s2 from file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.928440420000697]