Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001246/0.001246, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001163/0.001163, allocations: 52.34 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07225/0.07343, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002264/0.07573, allocations: 1.349 MB / 330.1 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007268/0.08301, allocations: 7.141 MB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.08306, allocations: 0 / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.08309, allocations: 3.938 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.08389, allocations: 275 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.08512, allocations: 0.6969 MB / 338.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.08522, allocations: 59.7 kB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.808e-05/0.08525, allocations: 0 / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.08536, allocations: 43.84 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.08594, allocations: 363.2 kB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.08596, allocations: 0 / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.08707, allocations: 0.7994 MB / 339.4 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.0871, allocations: 11.92 kB / 339.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.08713, allocations: 19.94 kB / 339.5 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.08796, allocations: 0.5574 MB / 340 MB, free: 8.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.08797, allocations: 0 / 340 MB, free: 8.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08798, allocations: 4 kB / 340 MB, free: 8.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.08799, allocations: 4 kB / 340 MB, free: 8.371 MB / 286.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.0005431/0.08854, allocations: 467.1 kB / 340.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.08857, allocations: 11.97 kB / 340.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.08862, allocations: 4.938 kB / 340.5 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.0888, allocations: 188.2 kB / 340.7 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.08882, allocations: 4.375 kB / 340.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.08884, allocations: 384 / 340.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.08899, allocations: 79.45 kB / 340.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.08901, allocations: 0 / 340.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.08902, allocations: 0 / 340.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.08903, allocations: 4 kB / 340.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.08911, allocations: 15.92 kB / 340.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.08929, allocations: 174.6 kB / 341 MB, free: 7.293 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.08956, allocations: 81.12 kB / 341 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.08963, allocations: 25.77 kB / 341.1 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.09074, allocations: 1.536 MB / 342.6 MB, free: 5.277 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.09078, allocations: 42.44 kB / 342.6 MB, free: 5.227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.09079, allocations: 4 kB / 342.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002656/0.09106, allocations: 77.56 kB / 342.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.09111, allocations: 89.03 kB / 342.8 MB, free: 5.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.0912, allocations: 105.8 kB / 342.9 MB, free: 4.922 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.09123, allocations: 33.7 kB / 342.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.09127, allocations: 84.12 kB / 343 MB, free: 4.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.0913, allocations: 23.66 kB / 343 MB, free: 4.773 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.09136, allocations: 25.7 kB / 343.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09146, allocations: 318.8 kB / 343.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.09152, allocations: 7.984 kB / 343.4 MB, free: 4.414 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.0916, allocations: 39.42 kB / 343.4 MB, free: 4.363 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.09173, allocations: 63.72 kB / 343.5 MB, free: 4.289 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.09173, allocations: 0 / 343.5 MB, free: 4.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001898/0.09193, allocations: 89.53 kB / 343.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.09195, allocations: 8 kB / 343.6 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.09196, allocations: 0 / 343.6 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.09198, allocations: 0 / 343.6 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.09205, allocations: 19.92 kB / 343.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.09206, allocations: 4 kB / 343.6 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.09211, allocations: 4.062 kB / 343.6 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.09213, allocations: 4 kB / 343.6 MB, free: 4.156 MB / 286.1 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 7.172e-05/0.0922, allocations: 113.8 kB / 343.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.09223, allocations: 11.84 kB / 343.7 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.09255, allocations: 117.4 kB / 343.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.09256, allocations: 0 / 343.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.09257, allocations: 3.984 kB / 343.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.09258, allocations: 4 kB / 343.9 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.09271, allocations: 177.5 kB / 344 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.09272, allocations: 3.984 kB / 344 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.09281, allocations: 15.94 kB / 344.1 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.09282, allocations: 3.938 kB / 344.1 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.09283, allocations: 4 kB / 344.1 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.09284, allocations: 4 kB / 344.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.09285, allocations: 3.984 kB / 344.1 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.09312, allocations: 141.9 kB / 344.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.09318, allocations: 96.97 kB / 344.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.0932, allocations: 0 / 344.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.09325, allocations: 0 / 344.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.09329, allocations: 7.984 kB / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.09331, allocations: 8.062 kB / 344.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.09336, allocations: 91.27 kB / 344.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09337, allocations: 0 / 344.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.0938, allocations: 171.9 kB / 344.6 MB, free: 3.094 MB / 286.1 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.000662/0.09447, allocations: 358.6 kB / 344.9 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.09466, allocations: 59.84 kB / 345 MB, free: 2.684 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.09467, allocations: 0 / 345 MB, free: 2.684 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.09476, allocations: 27.92 kB / 345 MB, free: 2.656 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.09495, allocations: 19.86 kB / 345 MB, free: 2.637 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.0954, allocations: 283.6 kB / 345.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.09563, allocations: 0.6885 MB / 346 MB, free: 1.617 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.0957, allocations: 27.97 kB / 346 MB, free: 1.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.09574, allocations: 19.38 kB / 346 MB, free: 1.57 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09574, allocations: 0 / 346 MB, free: 1.57 MB / 286.1 MB Notification: Performance of Templates: time 0.00669/0.1024, allocations: 3.729 MB / 349.8 MB, free: 13.84 MB / 302.1 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 -s cvode -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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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