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.0009833/0.0009833, allocations: 175.5 kB / 16.72 MB, free: 4.961 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.37/1.37, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008095/0.0008095, allocations: 95.92 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2212, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001132/0.2224, allocations: 1.06 MB / 376.1 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006252/0.2287, allocations: 6.641 MB / 382.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.2288, allocations: 1.312 kB / 382.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.2288, allocations: 3.984 kB / 382.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008596/0.2297, allocations: 244.3 kB / 383 MB, free: 39.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2309, allocations: 0.5758 MB / 383.6 MB, free: 38.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.231, allocations: 49.39 kB / 383.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.231, allocations: 2.156 kB / 383.7 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.951e-05/0.2311, allocations: 36.44 kB / 383.7 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.2318, allocations: 395 kB / 384.1 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.2318, allocations: 1.156 kB / 384.1 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009843/0.2328, allocations: 0.6799 MB / 384.8 MB, free: 38.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2328, allocations: 4.938 kB / 384.8 MB, free: 38.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.2329, allocations: 47.34 kB / 384.8 MB, free: 38.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.2334, allocations: 389.4 kB / 385.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2334, allocations: 4 kB / 385.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2334, allocations: 0 / 385.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.2334, allocations: 0 / 385.2 MB, free: 37.98 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.0004493/0.2339, allocations: 451.2 kB / 385.6 MB, free: 37.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2339, allocations: 10.12 kB / 385.6 MB, free: 37.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.234, allocations: 10.97 kB / 385.6 MB, free: 37.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2341, allocations: 187.5 kB / 385.8 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2342, allocations: 1.844 kB / 385.8 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2342, allocations: 2.25 kB / 385.8 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2343, allocations: 74.8 kB / 385.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2343, allocations: 1.406 kB / 385.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2344, allocations: 0 / 385.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2344, allocations: 1.062 kB / 385.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.2344, allocations: 18.41 kB / 385.9 MB, free: 37.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.2346, allocations: 171 kB / 386.1 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.2348, allocations: 82.98 kB / 386.2 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.2349, allocations: 26.33 kB / 386.2 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/0.2355, allocations: 1.543 MB / 387.7 MB, free: 35.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2355, allocations: 44 kB / 387.8 MB, free: 35.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2355, allocations: 0 / 387.8 MB, free: 35.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002434/0.2358, allocations: 76.86 kB / 387.9 MB, free: 34.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.2358, allocations: 82.23 kB / 387.9 MB, free: 34.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.2359, allocations: 108.5 kB / 388.1 MB, free: 34.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.2359, allocations: 26.83 kB / 388.1 MB, free: 34.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.2359, allocations: 89.22 kB / 388.2 MB, free: 34.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.236, allocations: 26.77 kB / 388.2 MB, free: 34.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.236, allocations: 0 / 388.2 MB, free: 34.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.2361, allocations: 317.2 kB / 388.5 MB, free: 34.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.2361, allocations: 11.23 kB / 388.5 MB, free: 34.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/0.2362, allocations: 38.02 kB / 388.5 MB, free: 34.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2363, allocations: 62.42 kB / 388.6 MB, free: 34.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2363, allocations: 1.094 kB / 388.6 MB, free: 34.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001602/0.2365, allocations: 92.56 kB / 388.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2365, allocations: 4.812 kB / 388.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2365, allocations: 1.312 kB / 388.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2365, allocations: 2.188 kB / 388.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.2366, allocations: 20.09 kB / 388.7 MB, free: 34.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2366, allocations: 9.297 kB / 388.7 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.2366, allocations: 6.844 kB / 388.7 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2367, allocations: 3.312 kB / 388.7 MB, free: 34.14 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.351e-05/0.2367, allocations: 112.2 kB / 388.9 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.2367, allocations: 11.03 kB / 388.9 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.237, allocations: 127.3 kB / 389 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.237, allocations: 1.344 kB / 389 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.237, allocations: 1.438 kB / 389 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2371, allocations: 5.016 kB / 389 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.409e-05/0.2371, allocations: 164.3 kB / 389.2 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2371, allocations: 1 kB / 389.2 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.2372, allocations: 22.45 kB / 389.2 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2372, allocations: 0 / 389.2 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2373, allocations: 2.281 kB / 389.2 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2373, allocations: 0 / 389.2 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2373, allocations: 5.031 kB / 389.2 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2375, allocations: 144.6 kB / 389.3 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2376, allocations: 96.25 kB / 389.4 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2376, allocations: 5.188 kB / 389.4 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.2376, allocations: 9.859 kB / 389.4 MB, free: 33.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.2377, allocations: 7.188 kB / 389.4 MB, free: 33.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2377, allocations: 2.156 kB / 389.4 MB, free: 33.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.997e-05/0.2377, allocations: 91.09 kB / 389.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2377, allocations: 0 / 389.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.2382, allocations: 169.4 kB / 389.7 MB, free: 33.34 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.0006264/0.2388, allocations: 378.6 kB / 390.1 MB, free: 32.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.239, allocations: 48.14 kB / 390.1 MB, free: 32.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.239, allocations: 0 / 390.1 MB, free: 32.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.2391, allocations: 27.92 kB / 390.1 MB, free: 32.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.2392, allocations: 15.92 kB / 390.2 MB, free: 32.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.2397, allocations: 383.4 kB / 390.5 MB, free: 32.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.828e-05/0.2397, allocations: 0.6896 MB / 391.2 MB, free: 31.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.2398, allocations: 23.44 kB / 391.3 MB, free: 31.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2398, allocations: 0 / 391.3 MB, free: 31.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004336/0.2441, allocations: 3.487 MB / 394.7 MB, free: 28.25 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