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.001275/0.001275, 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.001399/0.001399, allocations: 210.9 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.383/1.383, 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.002581/0.002581, allocations: 51.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2529, allocations: 49.14 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002105/0.255, allocations: 1.341 MB / 397.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.2651, allocations: 10.69 MB / 408.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.2651, allocations: 0 / 408.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.2651, allocations: 5.859 kB / 408.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.2681, allocations: 1.023 MB / 409.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.2697, allocations: 0.6394 MB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2698, allocations: 61.64 kB / 410.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.2699, allocations: 2.047 kB / 410.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.2699, allocations: 30.09 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.27, allocations: 32.38 kB / 410.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.27, allocations: 6.75 kB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.2729, allocations: 1.486 MB / 411.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.2729, allocations: 10.66 kB / 411.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.2729, allocations: 29.16 kB / 411.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.2748, allocations: 1.046 MB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2748, allocations: 4 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2748, allocations: 0 / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.2748, allocations: 0 / 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.0007836/0.2756, allocations: 485.2 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2756, allocations: 12.3 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.2757, allocations: 37.09 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.2758, allocations: 14.53 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2759, allocations: 124.9 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2759, allocations: 1.719 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.276, allocations: 5.906 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.2762, allocations: 117.5 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2762, allocations: 0 / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2762, allocations: 4 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2762, allocations: 1.312 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.2763, allocations: 25.83 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.2765, allocations: 143.5 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2768, allocations: 75.27 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.2768, allocations: 28.64 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005347/0.2822, allocations: 1.502 MB / 415.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2822, allocations: 41.06 kB / 415.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2822, allocations: 0 / 415.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003089/0.2825, allocations: 84.89 kB / 415.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.2826, allocations: 79.45 kB / 415.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2827, allocations: 119 kB / 415.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2827, allocations: 25.7 kB / 415.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.2828, allocations: 81.45 kB / 415.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.2828, allocations: 18.53 kB / 415.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.2828, allocations: 22.83 kB / 415.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.283, allocations: 317 kB / 416.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.2831, allocations: 15.3 kB / 416.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.2831, allocations: 22.34 kB / 416.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2832, allocations: 39.27 kB / 416.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2832, allocations: 0 / 416.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001676/0.2834, allocations: 78 kB / 416.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2834, allocations: 5.75 kB / 416.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2834, allocations: 128 / 416.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2834, allocations: 5.078 kB / 416.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.2835, allocations: 17.44 kB / 416.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2835, allocations: 1 kB / 416.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.2836, allocations: 1.094 kB / 416.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2836, allocations: 6.188 kB / 416.3 MB, free: 12.07 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.24e-05/0.2837, allocations: 117.4 kB / 416.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.2837, allocations: 10.48 kB / 416.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.2839, allocations: 113 kB / 416.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.284, allocations: 0.9688 kB / 416.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.284, allocations: 1 kB / 416.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.284, allocations: 1.062 kB / 416.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.2841, allocations: 138.2 kB / 416.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2841, allocations: 3.938 kB / 416.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.2842, allocations: 9.281 kB / 416.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2842, allocations: 1.719 kB / 416.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2842, allocations: 5.078 kB / 416.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2842, allocations: 4.75 kB / 416.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2842, allocations: 1.094 kB / 416.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.2844, allocations: 105 kB / 416.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.2844, allocations: 19.81 kB / 416.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.2844, allocations: 5.297 kB / 416.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.2845, allocations: 2.875 kB / 416.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2846, allocations: 10.48 kB / 416.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2846, allocations: 2.625 kB / 416.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.2846, allocations: 93.14 kB / 416.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2846, allocations: 0 / 416.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009243/0.2855, allocations: 329.1 kB / 417.2 MB, free: 11.36 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.001529/0.2871, allocations: 1.125 MB / 418.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2872, allocations: 29.08 kB / 418.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2872, allocations: 2.062 kB / 418.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.2873, allocations: 26.7 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.0001909/0.2875, allocations: 13.92 kB / 418.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2891, allocations: 1.457 MB / 419.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.2892, allocations: 69.89 kB / 419.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.2893, allocations: 51.31 kB / 420 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.2894, allocations: 27.36 kB / 420 MB, free: 9.031 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2894, allocations: 4 kB / 420 MB, free: 9.027 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.3297, allocations: 11.13 MB / 431.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.97, allocations: 15.77 kB / 431.2 MB, free: 15.77 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: 16.079292889218777]