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.001432/0.001432, allocations: 101.6 kB / 17.16 MB, free: 6.316 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.001719/0.001719, allocations: 190 kB / 18.07 MB, free: 5.414 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.314/1.314, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001075/0.001075, allocations: 51.92 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07297/0.07406, allocations: 46.62 MB / 326.6 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002294/0.07638, allocations: 1.424 MB / 328 MB, free: 3.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.08393, allocations: 7.296 MB / 335.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.084, allocations: 4 kB / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.08402, allocations: 0 / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.08477, allocations: 239.2 kB / 335.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.08592, allocations: 0.596 MB / 336.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.08599, allocations: 51.72 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.721e-05/0.08603, allocations: 4 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9e-05/0.08612, allocations: 35.84 kB / 336.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.0868, allocations: 415.1 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.08683, allocations: 4 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009661/0.0878, allocations: 0.7212 MB / 337.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.08782, allocations: 11.97 kB / 337.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.08786, allocations: 23.88 kB / 337.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.08863, allocations: 0.5733 MB / 338 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.08864, allocations: 3.984 kB / 338 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.08865, allocations: 0 / 338 MB, free: 9.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.08865, allocations: 0 / 338 MB, free: 9.465 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.000496/0.08916, allocations: 471.1 kB / 338.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.08919, allocations: 8.031 kB / 338.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.08923, allocations: 4.938 kB / 338.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.08942, allocations: 192.1 kB / 338.6 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.08944, allocations: 8.375 kB / 338.6 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.08946, allocations: 384 / 338.6 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.0896, allocations: 67.52 kB / 338.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.08961, allocations: 0 / 338.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.08964, allocations: 3.984 kB / 338.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.08965, allocations: 4 kB / 338.7 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.08973, allocations: 19.92 kB / 338.7 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.0899, allocations: 174.6 kB / 338.9 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.09016, allocations: 77.12 kB / 339 MB, free: 8.289 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.09023, allocations: 21.78 kB / 339 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008945/0.09113, allocations: 1.54 MB / 340.5 MB, free: 6.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.09116, allocations: 38.5 kB / 340.6 MB, free: 6.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.09117, allocations: 0 / 340.6 MB, free: 6.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002725/0.09145, allocations: 85.5 kB / 340.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.0915, allocations: 81.11 kB / 340.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.09158, allocations: 109.8 kB / 340.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.0916, allocations: 25.7 kB / 340.9 MB, free: 5.988 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.09164, allocations: 92.12 kB / 341 MB, free: 5.895 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.09168, allocations: 27.64 kB / 341 MB, free: 5.867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.09172, allocations: 21.7 kB / 341 MB, free: 5.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.09182, allocations: 314.8 kB / 341.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.09188, allocations: 11.98 kB / 341.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.09195, allocations: 43.36 kB / 341.4 MB, free: 5.457 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.09208, allocations: 63.36 kB / 341.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.09209, allocations: 0 / 341.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001828/0.09228, allocations: 82.02 kB / 341.5 MB, free: 5.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.0923, allocations: 4 kB / 341.5 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.09231, allocations: 4 kB / 341.5 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.09233, allocations: 8.047 kB / 341.5 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.0924, allocations: 12 kB / 341.5 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.09241, allocations: 4 kB / 341.5 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.09246, allocations: 3.984 kB / 341.6 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.09248, allocations: 7.938 kB / 341.6 MB, free: 5.254 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.156e-05/0.09255, allocations: 117.8 kB / 341.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.09257, allocations: 7.844 kB / 341.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.0929, allocations: 129.4 kB / 341.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.09291, allocations: 0 / 341.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.09292, allocations: 4 kB / 341.8 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.09293, allocations: 4 kB / 341.8 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.09306, allocations: 173.5 kB / 342 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.09307, allocations: 4 kB / 342 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.09315, allocations: 15.92 kB / 342 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.09316, allocations: 0 / 342 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.09318, allocations: 8 kB / 342 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.09319, allocations: 3.938 kB / 342 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.09319, allocations: 0 / 342 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.09346, allocations: 137.9 kB / 342.2 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.09352, allocations: 96.97 kB / 342.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.09354, allocations: 0 / 342.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.09359, allocations: 4.062 kB / 342.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.09363, allocations: 11.98 kB / 342.3 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.09364, allocations: 4 kB / 342.3 MB, free: 4.445 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.0937, allocations: 87.28 kB / 342.4 MB, free: 4.359 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09371, allocations: 0 / 342.4 MB, free: 4.359 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.09413, allocations: 163.9 kB / 342.5 MB, free: 4.199 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.0006964/0.09483, allocations: 372.1 kB / 342.9 MB, free: 3.832 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.09501, allocations: 51.91 kB / 342.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09502, allocations: 0 / 342.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.09511, allocations: 27.98 kB / 343 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.09529, allocations: 7.938 kB / 343 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.09576, allocations: 309.1 kB / 343.3 MB, free: 3.418 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.09599, allocations: 0.6887 MB / 343.9 MB, free: 2.703 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.09607, allocations: 39.62 kB / 344 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.0961, allocations: 15.44 kB / 344 MB, free: 2.648 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09611, allocations: 0 / 344 MB, free: 2.648 MB / 286.1 MB Notification: Performance of Templates: time 0.00636/0.1025, allocations: 3.704 MB / 347.7 MB, free: 14.94 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