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.001913/0.001913, allocations: 99.53 kB / 21.73 MB, free: 2.68 MB / 18.57 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.001949/0.001949, allocations: 172.1 kB / 25.03 MB, free: 8.414 MB / 18.57 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.321/1.321, allocations: 158.6 MB / 186.8 MB, free: 2.883 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.218e-05, allocations: 6.25 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002828/0.00286, allocations: 1.365 MB / 251.7 MB, free: 2.551 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.01374, allocations: 7.118 MB / 258.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.01378, allocations: 4 kB / 258.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.01379, allocations: 3.938 kB / 258.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.01494, allocations: 302.7 kB / 259.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.01685, allocations: 0.7199 MB / 259.9 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.01696, allocations: 59.66 kB / 259.9 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.017, allocations: 7.984 kB / 259.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.01713, allocations: 39.89 kB / 260 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008269/0.01796, allocations: 367.2 kB / 260.3 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.01798, allocations: 4 kB / 260.3 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.01931, allocations: 0.7171 MB / 261.1 MB, free: 9.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.01934, allocations: 7.984 kB / 261.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.01938, allocations: 19.92 kB / 261.1 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.02048, allocations: 0.6193 MB / 261.7 MB, free: 8.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02048, allocations: 4 kB / 261.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02048, allocations: 0 / 261.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.02049, allocations: 4 kB / 261.7 MB, free: 8.527 MB / 250.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.0007155/0.02121, allocations: 499 kB / 262.2 MB, free: 8.004 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.02124, allocations: 11.98 kB / 262.2 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.0213, allocations: 4.938 kB / 262.2 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.02152, allocations: 132.5 kB / 262.3 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.02154, allocations: 8.359 kB / 262.3 MB, free: 7.824 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.02156, allocations: 4.375 kB / 262.4 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.02172, allocations: 65.56 kB / 262.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.02173, allocations: 192 / 262.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.02174, allocations: 4.125 kB / 262.4 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.02174, allocations: 4 kB / 262.4 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.02183, allocations: 23.97 kB / 262.4 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.02204, allocations: 124.3 kB / 262.6 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.02236, allocations: 94.19 kB / 262.7 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.02243, allocations: 31.42 kB / 262.7 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.02282, allocations: 123.9 kB / 262.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.02286, allocations: 41.38 kB / 262.9 MB, free: 7.223 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.02286, allocations: 3.938 kB / 262.9 MB, free: 7.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002913/0.02315, allocations: 73.62 kB / 262.9 MB, free: 7.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.02323, allocations: 96.97 kB / 263 MB, free: 7.027 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.02337, allocations: 169.9 kB / 263.2 MB, free: 6.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.0234, allocations: 25.7 kB / 263.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.02348, allocations: 134.9 kB / 263.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.02352, allocations: 19.78 kB / 263.4 MB, free: 6.656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.02357, allocations: 35.36 kB / 263.4 MB, free: 6.613 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.02384, allocations: 492.1 kB / 263.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.0239, allocations: 15.98 kB / 263.9 MB, free: 6.105 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/0.02398, allocations: 51.11 kB / 263.9 MB, free: 6.039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.02414, allocations: 74.66 kB / 264 MB, free: 5.949 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.02415, allocations: 3.938 kB / 264 MB, free: 5.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001963/0.02434, allocations: 81.56 kB / 264.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.02436, allocations: 8 kB / 264.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.02436, allocations: 0 / 264.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.02438, allocations: 0 / 264.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.02446, allocations: 23.86 kB / 264.1 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.02446, allocations: 4 kB / 264.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.02451, allocations: 4 kB / 264.1 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.02452, allocations: 4 kB / 264.1 MB, free: 5.816 MB / 250.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 0.0001322/0.02465, allocations: 164.6 kB / 264.3 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.02468, allocations: 15.95 kB / 264.3 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.02499, allocations: 103.7 kB / 264.4 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.025, allocations: 3.938 kB / 264.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.02501, allocations: 3.938 kB / 264.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.02501, allocations: 3.984 kB / 264.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.02517, allocations: 128.6 kB / 264.6 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.02518, allocations: 3.984 kB / 264.6 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.02525, allocations: 12 kB / 264.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.02526, allocations: 4 kB / 264.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.02527, allocations: 0 / 264.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02527, allocations: 0 / 264.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02527, allocations: 0 / 264.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.02559, allocations: 156.3 kB / 264.7 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.02562, allocations: 11.94 kB / 264.7 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.02563, allocations: 4 kB / 264.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.02567, allocations: 0 / 264.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.02572, allocations: 11.92 kB / 264.8 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.02573, allocations: 8 kB / 264.8 MB, free: 5.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.013e-05/0.02582, allocations: 139.3 kB / 264.9 MB, free: 4.984 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02582, allocations: 0 / 264.9 MB, free: 4.984 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004995/0.02632, allocations: 175.4 kB / 265.1 MB, free: 4.812 MB / 250.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.0009086/0.02723, allocations: 396.1 kB / 265.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.02741, allocations: 47.61 kB / 265.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02742, allocations: 0 / 265.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.0275, allocations: 39.73 kB / 265.5 MB, free: 4.328 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.02769, allocations: 11.98 kB / 265.6 MB, free: 4.316 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.0282, allocations: 241.1 kB / 265.8 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.02828, allocations: 71.34 kB / 265.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.956e-05/0.02836, allocations: 33.77 kB / 265.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.0284, allocations: 24.42 kB / 265.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0284, allocations: 0 / 265.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of Templates: time 0.009534/0.03794, allocations: 3.88 MB / 269.8 MB, free: 32 kB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/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.306222683051601]