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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 82.88 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 158.6 MB / 187 MB, free: 6.477 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 55.92 kB / 299.4 MB, free: 6.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2041, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002406/0.2065, allocations: 1.323 MB / 349.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008691/0.2152, allocations: 6.527 MB / 356.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.2153, allocations: 4 kB / 356.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.2153, allocations: 3.938 kB / 356.4 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.2163, allocations: 302.8 kB / 356.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.2179, allocations: 0.7084 MB / 357.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.218, allocations: 51.72 kB / 357.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.218, allocations: 11.64 kB / 357.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.2182, allocations: 39.84 kB / 357.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.2189, allocations: 363.3 kB / 357.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.2189, allocations: 0 / 357.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.2201, allocations: 0.7252 MB / 358.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.2201, allocations: 7.938 kB / 358.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.2201, allocations: 27.91 kB / 358.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.2209, allocations: 0.5287 MB / 359.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2209, allocations: 0 / 359.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2209, allocations: 0 / 359.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.2209, allocations: 0 / 359.1 MB, free: 4.879 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.0005569/0.2215, allocations: 397 kB / 359.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2215, allocations: 11.98 kB / 359.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2216, allocations: 8.891 kB / 359.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.2218, allocations: 134.5 kB / 359.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2218, allocations: 384 / 359.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2218, allocations: 8.375 kB / 359.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.2219, allocations: 67.52 kB / 359.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.222, allocations: 0 / 359.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.222, allocations: 3.938 kB / 359.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.222, allocations: 0 / 359.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.2221, allocations: 19.97 kB / 359.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.2222, allocations: 122.1 kB / 359.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.2225, allocations: 81.2 kB / 359.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.2226, allocations: 25.78 kB / 360 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/0.2229, allocations: 127.9 kB / 360.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.223, allocations: 34.56 kB / 360.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.223, allocations: 0 / 360.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002964/0.2233, allocations: 85.53 kB / 360.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.2233, allocations: 77.11 kB / 360.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.2234, allocations: 109.8 kB / 360.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2234, allocations: 25.7 kB / 360.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.2235, allocations: 88.14 kB / 360.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.2235, allocations: 27.78 kB / 360.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.2236, allocations: 21.72 kB / 360.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2237, allocations: 314.8 kB / 360.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.2238, allocations: 19.88 kB / 360.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.2238, allocations: 39.42 kB / 360.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.224, allocations: 59.34 kB / 361 MB, free: 2.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.224, allocations: 0 / 361 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001993/0.2242, allocations: 85.56 kB / 361.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2242, allocations: 11.94 kB / 361.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2242, allocations: 0 / 361.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2242, allocations: 0 / 361.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.2243, allocations: 19.98 kB / 361.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2243, allocations: 3.938 kB / 361.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.2243, allocations: 11.94 kB / 361.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.2243, allocations: 0 / 361.1 MB, free: 2.656 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 8.802e-05/0.2244, allocations: 113.8 kB / 361.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2245, allocations: 19.94 kB / 361.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.2248, allocations: 113.6 kB / 361.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2248, allocations: 0 / 361.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2248, allocations: 0 / 361.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2249, allocations: 4.562 kB / 361.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.225, allocations: 125.2 kB / 361.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.225, allocations: 0 / 361.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.176e-05/0.2251, allocations: 23.92 kB / 361.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2251, allocations: 0 / 361.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2251, allocations: 3.938 kB / 361.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2251, allocations: 4 kB / 361.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2251, allocations: 0 / 361.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.2254, allocations: 133.9 kB / 361.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.2254, allocations: 15.97 kB / 361.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2255, allocations: 7.938 kB / 361.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.2255, allocations: 3.984 kB / 361.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.2255, allocations: 11.98 kB / 361.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.2256, allocations: 8.062 kB / 361.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.733e-05/0.2256, allocations: 87.22 kB / 361.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2256, allocations: 4 kB / 361.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.2261, allocations: 179.3 kB / 361.9 MB, free: 1.746 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.0007325/0.2268, allocations: 378.2 kB / 362.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.227, allocations: 47.91 kB / 362.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.227, allocations: 0 / 362.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.2271, allocations: 27.98 kB / 362.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.2273, allocations: 8.719 kB / 362.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.2278, allocations: 303.2 kB / 362.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.2279, allocations: 75.19 kB / 362.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.2279, allocations: 23.98 kB / 362.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.228, allocations: 20.48 kB / 362.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.228, allocations: 0 / 362.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of Templates: time 0.007999/0.236, allocations: 3.757 MB / 366.6 MB, free: 13.05 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.337534477002919]