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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.415/1.415, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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=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.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.002308/0.002308, allocations: 59.89 kB / 347.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2884, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002584/0.2909, allocations: 1.355 MB / 398.2 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00799/0.2989, allocations: 7.249 MB / 405.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.299, allocations: 0 / 405.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.299, allocations: 3.859 kB / 405.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3002, allocations: 290.8 kB / 405.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.302, allocations: 0.7202 MB / 406.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3021, allocations: 51.55 kB / 406.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.3021, allocations: 2.875 kB / 406.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.3022, allocations: 43.58 kB / 406.5 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007477/0.303, allocations: 365.2 kB / 406.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.303, allocations: 1.5 kB / 406.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3045, allocations: 0.8527 MB / 407.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.3045, allocations: 11.97 kB / 407.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.3046, allocations: 19.16 kB / 407.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.3056, allocations: 0.5632 MB / 408.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3057, allocations: 0.75 kB / 408.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.3057, allocations: 0 / 408.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3057, allocations: 0 / 408.3 MB, free: 2.438 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.0006116/0.3063, allocations: 406.3 kB / 408.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3063, allocations: 13.58 kB / 408.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.3064, allocations: 6.969 kB / 408.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3065, allocations: 122 kB / 408.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3065, allocations: 1.75 kB / 408.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3066, allocations: 7.125 kB / 408.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3067, allocations: 70.36 kB / 408.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3067, allocations: 0 / 408.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3067, allocations: 5.375 kB / 408.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3067, allocations: 1.375 kB / 408.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.3068, allocations: 20.44 kB / 409 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.307, allocations: 147.7 kB / 409.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.3073, allocations: 82.48 kB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.3073, allocations: 25.3 kB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.3077, allocations: 119.1 kB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.3077, allocations: 40.47 kB / 409.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3077, allocations: 0 / 409.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003149/0.308, allocations: 84.55 kB / 409.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.3081, allocations: 86.97 kB / 409.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.3082, allocations: 113.9 kB / 409.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.3082, allocations: 30.31 kB / 409.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.3082, allocations: 82.12 kB / 409.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3082, allocations: 24.52 kB / 409.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3082, allocations: 21.28 kB / 409.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.3083, allocations: 322.2 kB / 410.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.3083, allocations: 11.02 kB / 410.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.3084, allocations: 38.42 kB / 410.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3085, allocations: 64.97 kB / 410.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3085, allocations: 0 / 410.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001723/0.3087, allocations: 86.39 kB / 410.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3087, allocations: 6.016 kB / 410.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3087, allocations: 1.375 kB / 410.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3087, allocations: 1.375 kB / 410.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.3088, allocations: 19.17 kB / 410.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3088, allocations: 1.406 kB / 410.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.3088, allocations: 7.594 kB / 410.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3089, allocations: 8.703 kB / 410.4 MB, free: 0.6602 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 5.183e-05/0.3089, allocations: 113.1 kB / 410.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.3089, allocations: 10.11 kB / 410.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.3093, allocations: 121.4 kB / 410.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3093, allocations: 5.344 kB / 410.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3093, allocations: 5.891 kB / 410.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3093, allocations: 0.75 kB / 410.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.426e-05/0.3094, allocations: 149.3 kB / 410.7 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3094, allocations: 0 / 410.7 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.64e-05/0.3094, allocations: 15.81 kB / 410.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3094, allocations: 2.047 kB / 410.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3095, allocations: 1.812 kB / 410.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3095, allocations: 1.375 kB / 410.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3095, allocations: 0 / 410.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3097, allocations: 150.2 kB / 410.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.3097, allocations: 18.86 kB / 410.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3098, allocations: 6.078 kB / 410.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.3098, allocations: 2.047 kB / 410.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.3099, allocations: 13.47 kB / 411 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3099, allocations: 3.719 kB / 411 MB, free: 168 kB / 318.1 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.3099, allocations: 93.45 kB / 411.1 MB, free: 84 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3099, allocations: 0 / 411.1 MB, free: 84 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005805/0.3105, allocations: 172.4 kB / 411.2 MB, free: 32 kB / 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.0009852/0.3115, allocations: 367.8 kB / 411.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3117, allocations: 52.92 kB / 411.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3117, allocations: 4 kB / 411.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.3118, allocations: 28.2 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.312, allocations: 12.66 kB / 411.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.3125, allocations: 294.7 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3128, allocations: 0.6835 MB / 412.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.3129, allocations: 29.09 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.313, allocations: 26.52 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.313, allocations: 1.312 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Templates: time 0.008875/0.3218, allocations: 3.776 MB / 416.5 MB, free: 12.75 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 -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/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.475197964347899]