Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000861/0.000861, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008291/0.0008295, allocations: 95.69 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002759, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2681, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001211/0.2694, allocations: 1.065 MB / 377.7 MB, free: 44.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.2815, allocations: 15.84 MB / 393.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.2817, allocations: 0 / 393.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.2817, allocations: 0 / 393.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.2849, allocations: 0.8544 MB / 394.4 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.2866, allocations: 0.5366 MB / 394.9 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.2867, allocations: 63.7 kB / 395 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.2867, allocations: 4 kB / 395 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.2868, allocations: 23.92 kB / 395 MB, free: 29.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.2869, allocations: 31.89 kB / 395 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2869, allocations: 4 kB / 395 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.2894, allocations: 1.502 MB / 396.5 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2894, allocations: 11.86 kB / 396.5 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.2894, allocations: 49.62 kB / 396.6 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.2911, allocations: 1.068 MB / 397.6 MB, free: 26.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2911, allocations: 0 / 397.6 MB, free: 26.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2911, allocations: 0 / 397.6 MB, free: 26.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.2911, allocations: 0 / 397.6 MB, free: 26.38 MB / 298.7 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.0005591/0.2917, allocations: 0.538 MB / 398.2 MB, free: 25.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2917, allocations: 8.031 kB / 398.2 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.2919, allocations: 12.84 kB / 398.2 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.292, allocations: 172.4 kB / 398.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.292, allocations: 4.312 kB / 398.4 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2921, allocations: 4.375 kB / 398.4 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.2922, allocations: 67.52 kB / 398.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2922, allocations: 0 / 398.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2923, allocations: 8 kB / 398.5 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2923, allocations: 4 kB / 398.5 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2924, allocations: 27.91 kB / 398.5 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2925, allocations: 178.5 kB / 398.7 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.2928, allocations: 85.12 kB / 398.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.2929, allocations: 29.75 kB / 398.8 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005073/0.298, allocations: 3.29 MB / 402.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.298, allocations: 42.5 kB / 402.1 MB, free: 21.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.298, allocations: 0 / 402.1 MB, free: 21.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002823/0.2983, allocations: 81.59 kB / 402.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2983, allocations: 77.11 kB / 402.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.777e-05/0.2984, allocations: 117.8 kB / 402.4 MB, free: 20.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.2984, allocations: 25.7 kB / 402.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.2985, allocations: 88.14 kB / 402.5 MB, free: 20.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2985, allocations: 11.72 kB / 402.5 MB, free: 20.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2985, allocations: 4 kB / 402.5 MB, free: 20.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.2986, allocations: 322.8 kB / 402.8 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.2986, allocations: 4 kB / 402.8 MB, free: 20.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.2987, allocations: 33.64 kB / 402.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.2988, allocations: 37.7 kB / 402.9 MB, free: 20.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2988, allocations: 0 / 402.9 MB, free: 20.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001303/0.2989, allocations: 77.55 kB / 403 MB, free: 20.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2989, allocations: 4.625 kB / 403 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.299, allocations: 3.938 kB / 403 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.299, allocations: 0 / 403 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.299, allocations: 15.98 kB / 403 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2991, allocations: 0 / 403 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.013e-05/0.2991, allocations: 3.906 kB / 403 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2991, allocations: 4 kB / 403 MB, free: 20.33 MB / 298.7 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 5.248e-05/0.2992, allocations: 121.8 kB / 403.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.2992, allocations: 3.938 kB / 403.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.2994, allocations: 105.9 kB / 403.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2995, allocations: 0 / 403.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2995, allocations: 3.984 kB / 403.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2995, allocations: 4 kB / 403.2 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.467e-05/0.2996, allocations: 173.5 kB / 403.4 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2996, allocations: 0 / 403.4 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.2996, allocations: 11.94 kB / 403.4 MB, free: 19.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.2996, allocations: 8.031 kB / 403.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2997, allocations: 0 / 403.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2997, allocations: 0 / 403.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2997, allocations: 3.984 kB / 403.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2998, allocations: 101.9 kB / 403.5 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.2999, allocations: 100.9 kB / 403.6 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2999, allocations: 192 / 403.6 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.3, allocations: 8 kB / 403.6 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.3, allocations: 7.984 kB / 403.6 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3, allocations: 4 kB / 403.6 MB, free: 19.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.3001, allocations: 95.56 kB / 403.7 MB, free: 19.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3001, allocations: 0 / 403.7 MB, free: 19.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000744/0.3008, allocations: 327.6 kB / 404.1 MB, free: 19.17 MB / 298.7 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.001006/0.3019, allocations: 0.5732 MB / 404.6 MB, free: 18.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.3021, allocations: 35.91 kB / 404.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3021, allocations: 3.938 kB / 404.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.3021, allocations: 27.92 kB / 404.7 MB, free: 18.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3023, allocations: 15.94 kB / 404.7 MB, free: 18.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.3028, allocations: 174.5 kB / 404.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3029, allocations: 0.6926 MB / 405.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.303, allocations: 40.12 kB / 405.6 MB, free: 17.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.3031, allocations: 23.42 kB / 405.6 MB, free: 17.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3031, allocations: 0 / 405.6 MB, free: 17.52 MB / 298.7 MB Notification: Performance of Templates: time 0.01107/0.3141, allocations: 8.871 MB / 414.5 MB, free: 8.641 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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","../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