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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 106.5 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 191 kB / 18.66 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.08978, allocations: 46.61 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002529/0.09236, allocations: 1.353 MB / 376 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1915/0.2839, allocations: 12.09 MB / 388.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.284, allocations: 0 / 388.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.2842, allocations: 9.766 kB / 388.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.2882, allocations: 1.048 MB / 389.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.2906, allocations: 0.6287 MB / 389.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.2907, allocations: 68.31 kB / 389.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.2908, allocations: 7.938 kB / 389.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.2908, allocations: 23.53 kB / 389.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.2909, allocations: 36.73 kB / 389.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2909, allocations: 3.719 kB / 389.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.295, allocations: 1.614 MB / 391.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.295, allocations: 11.36 kB / 391.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.2951, allocations: 21.34 kB / 391.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.2973, allocations: 1.074 MB / 392.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2973, allocations: 0 / 392.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2973, allocations: 1.219 kB / 392.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2973, allocations: 4 kB / 392.6 MB, free: 4.234 MB / 318.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.0006613/0.298, allocations: 0.5352 MB / 393.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.298, allocations: 8.656 kB / 393.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.2981, allocations: 37.95 kB / 393.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2982, allocations: 12.84 kB / 393.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2983, allocations: 181.5 kB / 393.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2983, allocations: 1.469 kB / 393.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.2983, allocations: 1.719 kB / 393.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.2985, allocations: 69.69 kB / 393.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2985, allocations: 3.938 kB / 393.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2985, allocations: 5.375 kB / 393.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2986, allocations: 0 / 393.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.2987, allocations: 22.55 kB / 393.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.2988, allocations: 176.8 kB / 393.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2991, allocations: 84.28 kB / 393.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.2992, allocations: 24.08 kB / 393.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005912/0.3051, allocations: 3.296 MB / 397.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3052, allocations: 40.28 kB / 397.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3052, allocations: 1.188 kB / 397.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003111/0.3055, allocations: 80.41 kB / 397.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.3055, allocations: 82.39 kB / 397.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.3056, allocations: 115.4 kB / 397.4 MB, free: 396 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.3056, allocations: 27.14 kB / 397.4 MB, free: 364 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.186e-05/0.3057, allocations: 82.55 kB / 397.5 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3057, allocations: 22.56 kB / 397.5 MB, free: 260 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3057, allocations: 20.47 kB / 397.5 MB, free: 240 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3059, allocations: 319.3 kB / 397.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.3059, allocations: 11.91 kB / 397.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/0.306, allocations: 25.48 kB / 397.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.3061, allocations: 37.31 kB / 397.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3061, allocations: 0 / 397.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001686/0.3063, allocations: 77.42 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3063, allocations: 6.391 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3063, allocations: 1.438 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3063, allocations: 4.875 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.3064, allocations: 11.75 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3064, allocations: 1.031 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3065, allocations: 6.344 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3065, allocations: 6.422 kB / 398 MB, free: 15.81 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 8.613e-05/0.3066, allocations: 117.2 kB / 398.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.3066, allocations: 11.97 kB / 398.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.3069, allocations: 108.3 kB / 398.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3069, allocations: 0.6562 kB / 398.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3069, allocations: 4.188 kB / 398.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3069, allocations: 2.391 kB / 398.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3071, allocations: 165.2 kB / 398.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3071, allocations: 2.281 kB / 398.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.3072, allocations: 14.05 kB / 398.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3072, allocations: 7.797 kB / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3072, allocations: 1.844 kB / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3072, allocations: 1.938 kB / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3072, allocations: 5.25 kB / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3074, allocations: 94.22 kB / 398.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.3075, allocations: 92.3 kB / 398.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.3075, allocations: 10.12 kB / 398.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.3076, allocations: 2.453 kB / 398.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.3076, allocations: 10.73 kB / 398.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3076, allocations: 3.531 kB / 398.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.3077, allocations: 96.56 kB / 398.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3077, allocations: 0 / 398.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001006/0.3087, allocations: 319.4 kB / 399.1 MB, free: 15.05 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.001664/0.3104, allocations: 1.112 MB / 400.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3106, allocations: 37.39 kB / 400.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3106, allocations: 4 kB / 400.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.3107, allocations: 25.27 kB / 400.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.3109, allocations: 9.984 kB / 400.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3128, allocations: 1.453 MB / 401.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3131, allocations: 0.6865 MB / 402.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.3133, allocations: 50.14 kB / 402.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.3133, allocations: 27.19 kB / 402.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3134, allocations: 0 / 402.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04506/0.3584, allocations: 10.55 MB / 413 MB, free: 7.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.324, allocations: 13.97 kB / 413 MB, free: 7.297 MB / 334.1 MB (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 --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) 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) Reference file matches