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.001211/0.001211, allocations: 113.3 kB / 18.4 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.001272/0.001272, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.343/1.343, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001277/0.001277, allocations: 47.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08158/0.08286, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002434/0.08534, allocations: 1.357 MB / 377.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1964/0.2818, allocations: 7.148 MB / 384.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.2819, allocations: 0.7188 kB / 384.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.282, allocations: 10.28 kB / 384.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.2832, allocations: 273.1 kB / 384.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.2849, allocations: 0.688 MB / 385.3 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2851, allocations: 53.75 kB / 385.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.2851, allocations: 4.219 kB / 385.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.2852, allocations: 41.77 kB / 385.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.286, allocations: 363.5 kB / 385.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.286, allocations: 0 / 385.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.2874, allocations: 0.796 MB / 386.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.2874, allocations: 14 kB / 386.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.2875, allocations: 23.77 kB / 386.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009265/0.2884, allocations: 0.5533 MB / 387.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2884, allocations: 3.938 kB / 387.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.2884, allocations: 1.094 kB / 387.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2884, allocations: 7.875 kB / 387.1 MB, free: 8.398 MB / 318.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.0005389/0.289, allocations: 456.3 kB / 387.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.289, allocations: 10.45 kB / 387.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.2891, allocations: 9.328 kB / 387.6 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2893, allocations: 186.7 kB / 387.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2893, allocations: 5.094 kB / 387.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2894, allocations: 2.688 kB / 387.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2895, allocations: 66.11 kB / 387.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2895, allocations: 1.062 kB / 387.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2895, allocations: 3.938 kB / 387.9 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2895, allocations: 1.125 kB / 387.9 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.2896, allocations: 26.78 kB / 387.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2898, allocations: 173.5 kB / 388 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.2901, allocations: 80.33 kB / 388.1 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.2901, allocations: 23.92 kB / 388.1 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/0.2908, allocations: 1.546 MB / 389.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2908, allocations: 36.5 kB / 389.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2908, allocations: 0 / 389.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002961/0.2911, allocations: 80.91 kB / 389.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2912, allocations: 79.11 kB / 389.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.2913, allocations: 117.4 kB / 390 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.2913, allocations: 26.8 kB / 390 MB, free: 5.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.2913, allocations: 81.81 kB / 390.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2913, allocations: 24.09 kB / 390.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.2914, allocations: 22.27 kB / 390.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.2914, allocations: 317.2 kB / 390.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.2915, allocations: 15.3 kB / 390.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.2916, allocations: 41.62 kB / 390.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2917, allocations: 60.95 kB / 390.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2917, allocations: 0 / 390.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001795/0.2919, allocations: 83.77 kB / 390.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2919, allocations: 14.09 kB / 390.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2919, allocations: 1.656 kB / 390.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2919, allocations: 1.906 kB / 390.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.292, allocations: 16.97 kB / 390.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.292, allocations: 2.031 kB / 390.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.2921, allocations: 2.234 kB / 390.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.2921, allocations: 11.47 kB / 390.7 MB, free: 4.773 MB / 318.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 4.924e-05/0.2921, allocations: 111.9 kB / 390.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.2922, allocations: 18.72 kB / 390.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.2925, allocations: 122.9 kB / 391 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2925, allocations: 1.344 kB / 391 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2925, allocations: 0 / 391 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2925, allocations: 1.766 kB / 391 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2927, allocations: 172.7 kB / 391.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2927, allocations: 3.938 kB / 391.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.2927, allocations: 16.47 kB / 391.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2928, allocations: 5.031 kB / 391.2 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2928, allocations: 6 kB / 391.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2928, allocations: 1.938 kB / 391.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2928, allocations: 0.875 kB / 391.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.2931, allocations: 135.3 kB / 391.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.2931, allocations: 99.09 kB / 391.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.2931, allocations: 2.797 kB / 391.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.2932, allocations: 1.531 kB / 391.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2932, allocations: 11.19 kB / 391.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2933, allocations: 5.406 kB / 391.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.2933, allocations: 89.34 kB / 391.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.2933, allocations: 0 / 391.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005606/0.2939, allocations: 171.1 kB / 391.7 MB, free: 4.035 MB / 318.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.0007838/0.2947, allocations: 376.6 kB / 392 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.2949, allocations: 44.31 kB / 392.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2949, allocations: 1.125 kB / 392.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.295, allocations: 28.8 kB / 392.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2952, allocations: 15.36 kB / 392.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.2956, allocations: 318.2 kB / 392.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2957, allocations: 0.69 MB / 393.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.2958, allocations: 32.03 kB / 393.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2958, allocations: 3.938 kB / 393.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Templates: time 0.006595/0.3024, allocations: 3.502 MB / 396.7 MB, free: 2.305 MB / 318.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/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