Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.001007/0.001007, allocations: 177.9 kB / 17.36 MB, free: 4.328 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.363/1.363, 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.0007671/0.000767, allocations: 91.58 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002332, allocations: 7.984 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1928, allocations: 47.58 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.0014/0.1943, allocations: 1.066 MB / 377.7 MB, free: 44.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007698/0.202, allocations: 10.41 MB / 388.1 MB, free: 34.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.2021, allocations: 1.281 kB / 388.1 MB, free: 34.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2021, allocations: 0 / 388.1 MB, free: 34.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009138/0.203, allocations: 246.3 kB / 388.3 MB, free: 34.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.2047, allocations: 0.5784 MB / 388.9 MB, free: 34.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2048, allocations: 53.42 kB / 389 MB, free: 34.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.2048, allocations: 10.58 kB / 389 MB, free: 34.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.205, allocations: 35.78 kB / 389 MB, free: 34.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.2057, allocations: 365.4 kB / 389.4 MB, free: 34.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2057, allocations: 1.031 kB / 389.4 MB, free: 34.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.2069, allocations: 0.679 MB / 390 MB, free: 33.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.2069, allocations: 9.344 kB / 390 MB, free: 33.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.2069, allocations: 47.55 kB / 390.1 MB, free: 33.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.208, allocations: 0.5701 MB / 390.7 MB, free: 33.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.208, allocations: 1.719 kB / 390.7 MB, free: 33.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.208, allocations: 0 / 390.7 MB, free: 33.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.208, allocations: 0 / 390.7 MB, free: 33.48 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.0005702/0.2086, allocations: 458.5 kB / 391.1 MB, free: 33.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2086, allocations: 12.03 kB / 391.1 MB, free: 33.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.2087, allocations: 4.844 kB / 391.1 MB, free: 33.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2088, allocations: 184.3 kB / 391.3 MB, free: 32.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2089, allocations: 8.312 kB / 391.3 MB, free: 32.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2089, allocations: 4.375 kB / 391.3 MB, free: 32.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.209, allocations: 63.52 kB / 391.4 MB, free: 32.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.209, allocations: 4 kB / 391.4 MB, free: 32.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.209, allocations: 3.984 kB / 391.4 MB, free: 32.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.209, allocations: 0 / 391.4 MB, free: 32.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.309e-05/0.2091, allocations: 23.97 kB / 391.4 MB, free: 32.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.2093, allocations: 178.5 kB / 391.6 MB, free: 32.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.2095, allocations: 77.25 kB / 391.7 MB, free: 32.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.2096, allocations: 25.7 kB / 391.7 MB, free: 32.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.2101, allocations: 1.54 MB / 393.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2102, allocations: 38.44 kB / 393.3 MB, free: 30.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.2102, allocations: 0 / 393.3 MB, free: 30.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002335/0.2104, allocations: 89.53 kB / 393.4 MB, free: 30.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.2104, allocations: 77.11 kB / 393.4 MB, free: 30.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.2105, allocations: 113.8 kB / 393.5 MB, free: 30.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.2105, allocations: 25.7 kB / 393.6 MB, free: 30.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.587e-05/0.2105, allocations: 80.14 kB / 393.6 MB, free: 29.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2106, allocations: 23.7 kB / 393.7 MB, free: 29.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.2106, allocations: 4 kB / 393.7 MB, free: 29.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.746e-05/0.2106, allocations: 314.8 kB / 394 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.2107, allocations: 15.98 kB / 394 MB, free: 29.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.2107, allocations: 43.36 kB / 394 MB, free: 29.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.51e-05/0.2108, allocations: 55.36 kB / 394.1 MB, free: 29.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2108, allocations: 0 / 394.1 MB, free: 29.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000147/0.211, allocations: 93.39 kB / 394.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.211, allocations: 7.984 kB / 394.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.211, allocations: 4 kB / 394.2 MB, free: 29.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.211, allocations: 480 / 394.2 MB, free: 29.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.2111, allocations: 12 kB / 394.2 MB, free: 29.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2111, allocations: 0 / 394.2 MB, free: 29.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.2112, allocations: 15.92 kB / 394.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2112, allocations: 4 kB / 394.2 MB, free: 29.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 4.293e-05/0.2112, allocations: 109.9 kB / 394.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.2112, allocations: 11.84 kB / 394.3 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.2116, allocations: 125.4 kB / 394.5 MB, free: 29.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2116, allocations: 4 kB / 394.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2116, allocations: 0 / 394.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2116, allocations: 4 kB / 394.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.2117, allocations: 177.6 kB / 394.6 MB, free: 28.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2117, allocations: 0 / 394.6 MB, free: 28.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.2118, allocations: 19.92 kB / 394.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2118, allocations: 0 / 394.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2118, allocations: 0 / 394.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2118, allocations: 4 kB / 394.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2118, allocations: 0 / 394.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.212, allocations: 145.8 kB / 394.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.2121, allocations: 97 kB / 394.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2121, allocations: 0 / 394.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.2121, allocations: 7.938 kB / 394.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.2122, allocations: 7.984 kB / 394.9 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2122, allocations: 0 / 394.9 MB, free: 28.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.2122, allocations: 91.27 kB / 395 MB, free: 28.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2122, allocations: 0 / 395 MB, free: 28.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004444/0.2127, allocations: 172 kB / 395.2 MB, free: 28.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006692/0.2133, allocations: 376.1 kB / 395.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.2135, allocations: 47.91 kB / 395.6 MB, free: 27.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2135, allocations: 4.125 kB / 395.6 MB, free: 27.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.2136, allocations: 35.92 kB / 395.6 MB, free: 27.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.2138, allocations: 11.88 kB / 395.6 MB, free: 27.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.2142, allocations: 355.5 kB / 396 MB, free: 27.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.541e-05/0.2143, allocations: 0.6926 MB / 396.7 MB, free: 26.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.2144, allocations: 35.69 kB / 396.7 MB, free: 26.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.2144, allocations: 15.44 kB / 396.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2144, allocations: 0 / 396.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of Templates: time 0.005835/0.2202, allocations: 3.68 MB / 400.4 MB, free: 23.01 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches