Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 179.8 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007242/0.0007242, allocations: 90.38 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.000284, allocations: 15.98 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2039, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001235/0.2051, allocations: 1.064 MB / 375.6 MB, free: 44.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.2119, allocations: 6.616 MB / 382.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.212, allocations: 1.156 kB / 382.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.212, allocations: 7.984 kB / 382.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009306/0.2129, allocations: 240.2 kB / 382.5 MB, free: 39.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2142, allocations: 0.525 MB / 383 MB, free: 38.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.2143, allocations: 58.91 kB / 383.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.2144, allocations: 1.25 kB / 383.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.2145, allocations: 40.69 kB / 383.1 MB, free: 38.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/0.2151, allocations: 382.6 kB / 383.5 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2151, allocations: 2.125 kB / 383.5 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008476/0.216, allocations: 0.5577 MB / 384 MB, free: 38.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.216, allocations: 10.2 kB / 384 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.216, allocations: 34.2 kB / 384.1 MB, free: 38.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.2165, allocations: 344.3 kB / 384.4 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2165, allocations: 1.312 kB / 384.4 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2165, allocations: 0 / 384.4 MB, free: 38.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2166, allocations: 0 / 384.4 MB, free: 38.12 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.0004222/0.217, allocations: 451.3 kB / 384.8 MB, free: 37.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.217, allocations: 9.75 kB / 384.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2171, allocations: 6.625 kB / 384.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2172, allocations: 193.2 kB / 385.1 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.2172, allocations: 1.25 kB / 385.1 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2173, allocations: 6.188 kB / 385.1 MB, free: 37.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2174, allocations: 58.64 kB / 385.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2174, allocations: 1.156 kB / 385.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2174, allocations: 0 / 385.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2174, allocations: 1.188 kB / 385.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.2175, allocations: 27.09 kB / 385.1 MB, free: 37.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.2177, allocations: 174.7 kB / 385.3 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2179, allocations: 82.5 kB / 385.4 MB, free: 37.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.218, allocations: 22.45 kB / 385.4 MB, free: 37.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/0.2186, allocations: 1.548 MB / 387 MB, free: 35.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.2186, allocations: 31.81 kB / 387 MB, free: 35.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2186, allocations: 0 / 387 MB, free: 35.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002547/0.2189, allocations: 88.19 kB / 387.1 MB, free: 35.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.2189, allocations: 78.17 kB / 387.2 MB, free: 35.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.219, allocations: 116.8 kB / 387.3 MB, free: 34.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.219, allocations: 30.83 kB / 387.3 MB, free: 34.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.219, allocations: 85.02 kB / 387.4 MB, free: 34.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.2191, allocations: 18.77 kB / 387.4 MB, free: 34.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.2191, allocations: 4 kB / 387.4 MB, free: 34.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.2191, allocations: 316.9 kB / 387.7 MB, free: 34.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.2192, allocations: 15.77 kB / 387.7 MB, free: 34.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.2193, allocations: 45.27 kB / 387.8 MB, free: 34.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.2193, allocations: 17.42 kB / 387.8 MB, free: 34.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2193, allocations: 1.156 kB / 387.8 MB, free: 34.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001671/0.2195, allocations: 76.77 kB / 387.9 MB, free: 34.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2195, allocations: 9.531 kB / 387.9 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2196, allocations: 0.9062 kB / 387.9 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2196, allocations: 0.9688 kB / 387.9 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.2196, allocations: 25.42 kB / 387.9 MB, free: 34.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2197, allocations: 5.156 kB / 387.9 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.2197, allocations: 14.16 kB / 387.9 MB, free: 34.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2197, allocations: 7.625 kB / 387.9 MB, free: 34.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.2198, allocations: 111.9 kB / 388 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2198, allocations: 6.953 kB / 388 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.2201, allocations: 124.8 kB / 388.2 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2201, allocations: 1.375 kB / 388.2 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2201, allocations: 1.438 kB / 388.2 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2201, allocations: 0 / 388.2 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.539e-05/0.2202, allocations: 177.7 kB / 388.3 MB, free: 33.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2203, allocations: 0 / 388.3 MB, free: 33.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.2203, allocations: 18.55 kB / 388.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2203, allocations: 1.156 kB / 388.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2204, allocations: 5.219 kB / 388.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2204, allocations: 1 kB / 388.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2204, allocations: 0 / 388.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.2206, allocations: 132.2 kB / 388.5 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.2207, allocations: 100.4 kB / 388.6 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2207, allocations: 6 kB / 388.6 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.146e-05/0.2207, allocations: 5.062 kB / 388.6 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.2208, allocations: 11.23 kB / 388.6 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2208, allocations: 3.062 kB / 388.6 MB, free: 33.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.2208, allocations: 90.7 kB / 388.7 MB, free: 33.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2209, allocations: 0 / 388.7 MB, free: 33.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.2213, allocations: 165 kB / 388.9 MB, free: 33.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006302/0.2219, allocations: 364.2 kB / 389.2 MB, free: 33.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.2221, allocations: 51.62 kB / 389.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2221, allocations: 0 / 389.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.2222, allocations: 28.7 kB / 389.3 MB, free: 33.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.2224, allocations: 9.25 kB / 389.3 MB, free: 33.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2228, allocations: 384.1 kB / 389.7 MB, free: 32.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.95e-05/0.2229, allocations: 0.6857 MB / 390.4 MB, free: 32.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.223, allocations: 23.42 kB / 390.4 MB, free: 32.2 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.223, allocations: 0 / 390.4 MB, free: 32.2 MB / 298.7 MB Notification: Performance of Templates: time 0.004166/0.2271, allocations: 3.478 MB / 393.9 MB, free: 28.72 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches