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.001146/0.001147, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001073/0.001073, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.282/1.282, allocations: 205.1 MB / 224 MB, free: 12.43 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.001073/0.001073, allocations: 43.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07109/0.07217, allocations: 46.63 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002175/0.07438, allocations: 1.417 MB / 328.2 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007247/0.08164, allocations: 7.112 MB / 335.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.08168, allocations: 4 kB / 335.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.08172, allocations: 0 / 335.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007631/0.08249, allocations: 255.2 kB / 335.6 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.08371, allocations: 0.6392 MB / 336.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.0838, allocations: 47.73 kB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.08384, allocations: 11.92 kB / 336.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.08393, allocations: 35.91 kB / 336.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.08455, allocations: 415.1 kB / 336.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.08458, allocations: 4 kB / 336.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009505/0.08553, allocations: 0.7252 MB / 337.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.08556, allocations: 23.91 kB / 337.5 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.08559, allocations: 11.94 kB / 337.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007125/0.08631, allocations: 0.577 MB / 338 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.08633, allocations: 0 / 338 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08633, allocations: 0 / 338 MB, free: 9.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.08634, allocations: 0 / 338 MB, free: 9.48 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.000499/0.08685, allocations: 471 kB / 338.5 MB, free: 8.973 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.08688, allocations: 8.031 kB / 338.5 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.08693, allocations: 8.938 kB / 338.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.08712, allocations: 192.2 kB / 338.7 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.08714, allocations: 4.375 kB / 338.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.08716, allocations: 4.375 kB / 338.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.0873, allocations: 63.52 kB / 338.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.08732, allocations: 0 / 338.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.08733, allocations: 0 / 338.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.08734, allocations: 0 / 338.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.08742, allocations: 27.86 kB / 338.8 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.08759, allocations: 174.6 kB / 339 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.08785, allocations: 77.12 kB / 339 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.08793, allocations: 25.77 kB / 339.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008982/0.08883, allocations: 1.54 MB / 340.6 MB, free: 6.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.08887, allocations: 38.5 kB / 340.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.08888, allocations: 0 / 340.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.000264/0.08915, allocations: 81.88 kB / 340.7 MB, free: 6.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.08919, allocations: 81.11 kB / 340.8 MB, free: 6.152 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.08928, allocations: 109.8 kB / 340.9 MB, free: 6.035 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.0893, allocations: 29.7 kB / 340.9 MB, free: 6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.08934, allocations: 92.06 kB / 341 MB, free: 5.906 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.08938, allocations: 23.64 kB / 341.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.08942, allocations: 25.7 kB / 341.1 MB, free: 5.852 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.08952, allocations: 314.8 kB / 341.4 MB, free: 5.535 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.08959, allocations: 15.98 kB / 341.4 MB, free: 5.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.08966, allocations: 43.36 kB / 341.4 MB, free: 5.465 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.0898, allocations: 63.34 kB / 341.5 MB, free: 5.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.08981, allocations: 0 / 341.5 MB, free: 5.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001777/0.08999, allocations: 81.55 kB / 341.6 MB, free: 5.305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.09001, allocations: 12.05 kB / 341.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.09002, allocations: 0 / 341.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.09004, allocations: 4 kB / 341.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.0901, allocations: 12 kB / 341.6 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.09012, allocations: 0 / 341.6 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.09017, allocations: 11.98 kB / 341.6 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.09018, allocations: 0 / 341.6 MB, free: 5.266 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 6.626e-05/0.09026, allocations: 113.8 kB / 341.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.09028, allocations: 15.84 kB / 341.8 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.0906, allocations: 117.4 kB / 341.9 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.09062, allocations: 4 kB / 341.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.09063, allocations: 0 / 341.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.09063, allocations: 0 / 341.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.09076, allocations: 177.5 kB / 342 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.09077, allocations: 0 / 342 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.09086, allocations: 19.92 kB / 342.1 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.09087, allocations: 11.94 kB / 342.1 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.09089, allocations: 0 / 342.1 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.09089, allocations: 3.938 kB / 342.1 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0909, allocations: 4 kB / 342.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.09118, allocations: 137.9 kB / 342.2 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.09124, allocations: 92.97 kB / 342.3 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.09127, allocations: 4.062 kB / 342.3 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.09132, allocations: 8 kB / 342.3 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.09135, allocations: 7.984 kB / 342.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.09136, allocations: 0 / 342.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.09141, allocations: 95.8 kB / 342.4 MB, free: 4.367 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09142, allocations: 0 / 342.4 MB, free: 4.367 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004197/0.09184, allocations: 163.9 kB / 342.6 MB, free: 4.207 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.0006756/0.09253, allocations: 382.3 kB / 343 MB, free: 3.832 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.09272, allocations: 51.84 kB / 343 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.09273, allocations: 0 / 343 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.09283, allocations: 31.92 kB / 343 MB, free: 3.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.09301, allocations: 19.92 kB / 343.1 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.09346, allocations: 294.8 kB / 343.3 MB, free: 3.414 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.09372, allocations: 0.6924 MB / 344 MB, free: 2.695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.09379, allocations: 27.73 kB / 344.1 MB, free: 2.668 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.09383, allocations: 15.44 kB / 344.1 MB, free: 2.652 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09384, allocations: 4 kB / 344.1 MB, free: 2.648 MB / 286.1 MB Notification: Performance of Templates: time 0.006571/0.1004, allocations: 3.725 MB / 347.8 MB, free: 14.92 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 -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