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.001231/0.001231, allocations: 111.5 kB / 18.35 MB, free: 4.84 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.001114/0.001114, allocations: 185.6 kB / 19.29 MB, free: 3.918 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.397/1.397, 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.001255/0.001255, allocations: 51.92 kB / 329.1 MB, free: 3.348 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1001, allocations: 46.61 MB / 375.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002573/0.1027, allocations: 1.353 MB / 377.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1986/0.3013, allocations: 7.145 MB / 384.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.3014, allocations: 1.938 kB / 384.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.3015, allocations: 6.469 kB / 384.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.3026, allocations: 279.9 kB / 384.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.3044, allocations: 0.6934 MB / 385.2 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3045, allocations: 58.81 kB / 385.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.3046, allocations: 3.703 kB / 385.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3047, allocations: 34.02 kB / 385.3 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007356/0.3054, allocations: 356.9 kB / 385.7 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3055, allocations: 1.562 kB / 385.7 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.3069, allocations: 0.8044 MB / 386.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.3069, allocations: 14.33 kB / 386.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.307, allocations: 23.5 kB / 386.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009691/0.3079, allocations: 0.5543 MB / 387.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3079, allocations: 0 / 387.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3079, allocations: 5.094 kB / 387.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.308, allocations: 0 / 387.1 MB, free: 8.41 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.0005247/0.3085, allocations: 461.6 kB / 387.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3085, allocations: 10.25 kB / 387.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.3086, allocations: 6.75 kB / 387.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3088, allocations: 191.1 kB / 387.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3088, allocations: 2.438 kB / 387.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3088, allocations: 4.531 kB / 387.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.309, allocations: 66.52 kB / 387.8 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.309, allocations: 3.938 kB / 387.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.309, allocations: 4.906 kB / 387.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.309, allocations: 0 / 387.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.3091, allocations: 23.39 kB / 387.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.3093, allocations: 179.8 kB / 388 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.3095, allocations: 77.27 kB / 388.1 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.3096, allocations: 26.39 kB / 388.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006562/0.3103, allocations: 1.538 MB / 389.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3103, allocations: 40.09 kB / 389.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3103, allocations: 0 / 389.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002933/0.3106, allocations: 78.7 kB / 389.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3107, allocations: 78.91 kB / 389.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.3107, allocations: 111 kB / 389.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.3107, allocations: 33.64 kB / 390 MB, free: 5.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.061e-05/0.3108, allocations: 86.81 kB / 390.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3108, allocations: 28.03 kB / 390.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3108, allocations: 20.3 kB / 390.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.3109, allocations: 316.5 kB / 390.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.311, allocations: 13.91 kB / 390.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.311, allocations: 41.86 kB / 390.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3112, allocations: 56.89 kB / 390.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3112, allocations: 0 / 390.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001781/0.3114, allocations: 88.34 kB / 390.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3114, allocations: 8.344 kB / 390.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3114, allocations: 5.094 kB / 390.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3114, allocations: 2.219 kB / 390.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.3115, allocations: 15.09 kB / 390.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3115, allocations: 5.953 kB / 390.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.3115, allocations: 4.125 kB / 390.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3116, allocations: 4.906 kB / 390.7 MB, free: 4.797 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.55e-05/0.3116, allocations: 111.2 kB / 390.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3116, allocations: 15.67 kB / 390.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.312, allocations: 124.5 kB / 390.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.312, allocations: 2.719 kB / 390.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.312, allocations: 2.688 kB / 390.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.312, allocations: 1.734 kB / 390.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.3121, allocations: 172.8 kB / 391.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3121, allocations: 0.6094 kB / 391.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.3122, allocations: 15.58 kB / 391.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3122, allocations: 10.02 kB / 391.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3123, allocations: 1.594 kB / 391.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3123, allocations: 0.875 kB / 391.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3123, allocations: 1.562 kB / 391.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3125, allocations: 142.8 kB / 391.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.3126, allocations: 96.16 kB / 391.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3126, allocations: 5.922 kB / 391.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.935e-05/0.3126, allocations: 1.781 kB / 391.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3127, allocations: 14.53 kB / 391.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3127, allocations: 3.25 kB / 391.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.3127, allocations: 91.95 kB / 391.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3127, allocations: 0 / 391.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006214/0.3134, allocations: 162.8 kB / 391.6 MB, free: 4.059 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.0007562/0.3141, allocations: 371 kB / 392 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3144, allocations: 48.59 kB / 392 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3144, allocations: 0 / 392 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.3145, allocations: 34.91 kB / 392.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.3147, allocations: 10.56 kB / 392.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.3151, allocations: 319.4 kB / 392.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.612e-05/0.3152, allocations: 0.6906 MB / 393.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.3153, allocations: 24.72 kB / 393.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3153, allocations: 0 / 393.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of Templates: time 0.0066/0.3219, allocations: 3.499 MB / 396.6 MB, free: 2.344 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