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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009476/0.0009476, allocations: 99.97 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000787/0.0007872, allocations: 43.92 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.189, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002187/0.1912, allocations: 1.415 MB / 375.2 MB, free: 44.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006313/0.1975, allocations: 7.303 MB / 382.5 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.1976, allocations: 3.938 kB / 382.5 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.1976, allocations: 5.094 kB / 382.5 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.1984, allocations: 241.8 kB / 382.8 MB, free: 38.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1996, allocations: 0.5839 MB / 383.4 MB, free: 38.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.1997, allocations: 57.86 kB / 383.4 MB, free: 38.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.904e-05/0.1997, allocations: 2.906 kB / 383.4 MB, free: 38.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.1998, allocations: 36.5 kB / 383.5 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005903/0.2004, allocations: 410 kB / 383.9 MB, free: 38.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.2004, allocations: 2.031 kB / 383.9 MB, free: 38.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/0.2014, allocations: 0.7288 MB / 384.6 MB, free: 37.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2014, allocations: 6.125 kB / 384.6 MB, free: 37.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.2015, allocations: 30.16 kB / 384.6 MB, free: 37.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008326/0.2023, allocations: 0.5714 MB / 385.2 MB, free: 37.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2023, allocations: 0 / 385.2 MB, free: 37.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2023, allocations: 0 / 385.2 MB, free: 37.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.2023, allocations: 1.062 kB / 385.2 MB, free: 37.39 MB / 298.7 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.0004413/0.2028, allocations: 462.9 kB / 385.6 MB, free: 36.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.2028, allocations: 9.656 kB / 385.7 MB, free: 36.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.2028, allocations: 11.22 kB / 385.7 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.203, allocations: 187.8 kB / 385.9 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.203, allocations: 1.531 kB / 385.9 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.203, allocations: 2.469 kB / 385.9 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2032, allocations: 70.61 kB / 385.9 MB, free: 36.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2032, allocations: 1.031 kB / 385.9 MB, free: 36.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2032, allocations: 0 / 385.9 MB, free: 36.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2032, allocations: 1.094 kB / 385.9 MB, free: 36.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.2033, allocations: 22.97 kB / 386 MB, free: 36.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.2034, allocations: 171.4 kB / 386.1 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.2036, allocations: 79.34 kB / 386.2 MB, free: 36.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.2037, allocations: 29.67 kB / 386.2 MB, free: 36.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.2043, allocations: 1.544 MB / 387.8 MB, free: 34.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.2043, allocations: 39.56 kB / 387.8 MB, free: 34.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2043, allocations: 3.938 kB / 387.8 MB, free: 34.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002424/0.2045, allocations: 81.02 kB / 387.9 MB, free: 34.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.2046, allocations: 82.08 kB / 388 MB, free: 34.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.2046, allocations: 117.2 kB / 388.1 MB, free: 34.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.2046, allocations: 30.8 kB / 388.1 MB, free: 34.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.484e-05/0.2047, allocations: 81.23 kB / 388.2 MB, free: 34.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2047, allocations: 22.11 kB / 388.2 MB, free: 34.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.2047, allocations: 20.03 kB / 388.2 MB, free: 34.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.2048, allocations: 321 kB / 388.5 MB, free: 33.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.2048, allocations: 7.438 kB / 388.6 MB, free: 33.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.2049, allocations: 42.05 kB / 388.6 MB, free: 33.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.205, allocations: 59.62 kB / 388.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.205, allocations: 0 / 388.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001652/0.2052, allocations: 97.27 kB / 388.8 MB, free: 33.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2052, allocations: 5.531 kB / 388.8 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2052, allocations: 1.031 kB / 388.8 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2052, allocations: 1.156 kB / 388.8 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.2053, allocations: 20.36 kB / 388.8 MB, free: 33.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2053, allocations: 2.25 kB / 388.8 MB, free: 33.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.2054, allocations: 6.688 kB / 388.8 MB, free: 33.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2054, allocations: 2.188 kB / 388.8 MB, free: 33.52 MB / 298.7 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 3.881e-05/0.2054, allocations: 116.9 kB / 388.9 MB, free: 33.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.2054, allocations: 15.38 kB / 388.9 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.2057, allocations: 119.7 kB / 389 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2058, allocations: 1.188 kB / 389 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2058, allocations: 5.031 kB / 389 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2058, allocations: 0 / 389 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.783e-05/0.2059, allocations: 173.7 kB / 389.2 MB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2059, allocations: 4 kB / 389.2 MB, free: 33.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.2059, allocations: 18.67 kB / 389.2 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2059, allocations: 0 / 389.2 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.206, allocations: 5.656 kB / 389.2 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.206, allocations: 1.562 kB / 389.2 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.206, allocations: 0 / 389.2 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/0.2067, allocations: 1.006 MB / 390.2 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.2068, allocations: 91.64 kB / 390.3 MB, free: 31.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2068, allocations: 13.23 kB / 390.3 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.2068, allocations: 2.375 kB / 390.4 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.2069, allocations: 11.05 kB / 390.4 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.2069, allocations: 2.875 kB / 390.4 MB, free: 31.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.802e-05/0.2069, allocations: 85.78 kB / 390.4 MB, free: 31.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2069, allocations: 1.875 kB / 390.4 MB, free: 31.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005204/0.2074, allocations: 174.6 kB / 390.6 MB, free: 31.8 MB / 298.7 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.0006258/0.2081, allocations: 368.8 kB / 391 MB, free: 31.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.2082, allocations: 47.91 kB / 391 MB, free: 31.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2082, allocations: 0 / 391 MB, free: 31.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.2083, allocations: 23.98 kB / 391.1 MB, free: 31.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.2085, allocations: 15.94 kB / 391.1 MB, free: 31.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.2089, allocations: 432.2 kB / 391.5 MB, free: 30.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.84e-05/0.209, allocations: 0.6887 MB / 392.2 MB, free: 30.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.2091, allocations: 35.19 kB / 392.2 MB, free: 30.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.2091, allocations: 19.42 kB / 392.2 MB, free: 30.17 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2091, allocations: 0 / 392.2 MB, free: 30.17 MB / 298.7 MB Notification: Performance of Templates: time 0.005342/0.2145, allocations: 3.735 MB / 396 MB, free: 26.44 MB / 298.7 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@2/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