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.001341/0.001341, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001502/0.001502, allocations: 210.4 kB / 24.47 MB, free: 3.547 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.459/1.459, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.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.003114/0.003114, allocations: 59.8 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2952, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002807/0.298, allocations: 1.335 MB / 398.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007256/0.3053, allocations: 6.516 MB / 404.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.3053, allocations: 0 / 404.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.3053, allocations: 5.766 kB / 404.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.3063, allocations: 295.5 kB / 405 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.308, allocations: 0.7154 MB / 405.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.3081, allocations: 55.56 kB / 405.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.3081, allocations: 6.812 kB / 405.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3082, allocations: 38.8 kB / 405.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.309, allocations: 364.8 kB / 406.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.309, allocations: 1.375 kB / 406.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3102, allocations: 0.7224 MB / 406.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.3102, allocations: 10.84 kB / 406.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.3103, allocations: 23.56 kB / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.3111, allocations: 0.5304 MB / 407.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3111, allocations: 1.375 kB / 407.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3111, allocations: 0 / 407.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3111, allocations: 0 / 407.4 MB, free: 3.203 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.0005084/0.3116, allocations: 395.2 kB / 407.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3117, allocations: 16.14 kB / 407.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.3117, allocations: 11.58 kB / 407.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3119, allocations: 121.9 kB / 408 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3119, allocations: 5.75 kB / 408 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3119, allocations: 7.859 kB / 408 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.312, allocations: 71.36 kB / 408.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.312, allocations: 0 / 408.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.312, allocations: 0 / 408.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3121, allocations: 1.375 kB / 408.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.406e-05/0.3121, allocations: 24.19 kB / 408.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.3123, allocations: 121.5 kB / 408.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.3125, allocations: 79.97 kB / 408.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.3126, allocations: 28.97 kB / 408.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.3129, allocations: 117.8 kB / 408.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.313, allocations: 36.64 kB / 408.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.313, allocations: 0 / 408.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002726/0.3132, allocations: 85.25 kB / 408.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.3133, allocations: 79.23 kB / 408.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.3133, allocations: 112.7 kB / 408.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.3133, allocations: 28.03 kB / 408.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/0.3134, allocations: 89.58 kB / 408.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3134, allocations: 25.14 kB / 408.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3134, allocations: 21.2 kB / 408.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.3135, allocations: 314.3 kB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.3135, allocations: 14.41 kB / 409.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.3136, allocations: 43.52 kB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3137, allocations: 53.7 kB / 409.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3137, allocations: 3.938 kB / 409.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001748/0.3139, allocations: 87.47 kB / 409.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3139, allocations: 9.094 kB / 409.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3139, allocations: 1.703 kB / 409.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3139, allocations: 1.562 kB / 409.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.314, allocations: 23.11 kB / 409.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.314, allocations: 2.438 kB / 409.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.314, allocations: 11.11 kB / 409.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3141, allocations: 4.312 kB / 409.5 MB, free: 1.473 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.157e-05/0.3141, allocations: 121.1 kB / 409.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.3141, allocations: 10.39 kB / 409.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.3145, allocations: 122.1 kB / 409.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3145, allocations: 1.375 kB / 409.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3145, allocations: 5.984 kB / 409.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3145, allocations: 0 / 409.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.681e-05/0.3146, allocations: 121.2 kB / 409.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3146, allocations: 7.938 kB / 409.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.3147, allocations: 11.97 kB / 409.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3147, allocations: 1.781 kB / 409.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3147, allocations: 5.953 kB / 409.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3147, allocations: 5.312 kB / 409.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3147, allocations: 1.406 kB / 409.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.315, allocations: 142.8 kB / 410 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.315, allocations: 10.58 kB / 410 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.315, allocations: 6.219 kB / 410 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.3151, allocations: 6.594 kB / 410 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.3151, allocations: 10.53 kB / 410 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3151, allocations: 2.672 kB / 410 MB, free: 1.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.3152, allocations: 89.08 kB / 410.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3152, allocations: 0 / 410.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.3157, allocations: 175.2 kB / 410.3 MB, free: 0.8867 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.0007223/0.3164, allocations: 373.8 kB / 410.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.3166, allocations: 52.28 kB / 410.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3166, allocations: 0 / 410.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.3167, allocations: 29.22 kB / 410.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.3168, allocations: 12.97 kB / 410.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.3173, allocations: 295.2 kB / 411 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.3173, allocations: 72.55 kB / 411.1 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.3174, allocations: 27.94 kB / 411.1 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.3174, allocations: 26.39 kB / 411.2 MB, free: 292 kB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3174, allocations: 0 / 411.2 MB, free: 292 kB / 318.1 MB Notification: Performance of Templates: time 0.008103/0.3255, allocations: 3.799 MB / 415 MB, free: 14.23 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.582769451662898]