Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.001659/0.001659, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00206/0.00206, allocations: 168.4 kB / 25.03 MB, free: 8.43 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.387/1.387, allocations: 158.6 MB / 186.8 MB, free: 2.852 MB / 170.7 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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.72e-05, allocations: 6.25 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002737/0.002764, allocations: 1.349 MB / 251.7 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2875/0.2902, allocations: 129.2 MB / 380.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.2903, allocations: 0 / 380.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.2903, allocations: 3.938 kB / 380.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.2914, allocations: 247.1 kB / 381.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.2935, allocations: 0.6417 MB / 381.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.2936, allocations: 59.67 kB / 381.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.2936, allocations: 0 / 381.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.2937, allocations: 35.89 kB / 381.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.2938, allocations: 27.97 kB / 381.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.2938, allocations: 0 / 381.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.2955, allocations: 0.7683 MB / 382.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2955, allocations: 11.92 kB / 382.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2955, allocations: 19.92 kB / 382.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.2969, allocations: 0.6702 MB / 383.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2969, allocations: 0 / 383.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2969, allocations: 0 / 383.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2969, allocations: 0 / 383.4 MB, free: 0.4961 MB / 314.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.0007358/0.2976, allocations: 389.7 kB / 383.7 MB, free: 88 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2976, allocations: 11.98 kB / 383.8 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.2989, allocations: 96.8 kB / 383.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.2992, allocations: 185.6 kB / 384 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2992, allocations: 8.375 kB / 384 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.2993, allocations: 8.484 kB / 384.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2995, allocations: 99.27 kB / 384.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2996, allocations: 0 / 384.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2996, allocations: 0 / 384.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.2996, allocations: 7.984 kB / 384.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.2998, allocations: 39.95 kB / 384.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.3, allocations: 158.5 kB / 384.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.3006, allocations: 117.1 kB / 384.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3007, allocations: 41.75 kB / 384.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.301, allocations: 96.58 kB / 384.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3011, allocations: 34.5 kB / 384.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3011, allocations: 4 kB / 384.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005943/0.3017, allocations: 137.4 kB / 384.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.3017, allocations: 81.11 kB / 384.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.302, allocations: 157.8 kB / 385 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.302, allocations: 25.7 kB / 385 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3021, allocations: 80.14 kB / 385.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.3021, allocations: 23.86 kB / 385.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.3022, allocations: 33.69 kB / 385.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3024, allocations: 310.8 kB / 385.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3025, allocations: 31.97 kB / 385.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3027, allocations: 51.41 kB / 385.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.3029, allocations: 83.33 kB / 385.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3029, allocations: 0 / 385.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004227/0.3033, allocations: 129.5 kB / 385.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3034, allocations: 7.938 kB / 385.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3034, allocations: 4 kB / 385.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3034, allocations: 0 / 385.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.3035, allocations: 28.44 kB / 385.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3035, allocations: 0 / 385.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3038, allocations: 12.55 kB / 385.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3038, allocations: 11.98 kB / 385.8 MB, free: 13.82 MB / 330.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.000117/0.3039, allocations: 113.9 kB / 385.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.304, allocations: 15.89 kB / 385.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.3047, allocations: 251.5 kB / 386.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.3047, allocations: 4 kB / 386.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3047, allocations: 0 / 386.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3047, allocations: 3.984 kB / 386.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3049, allocations: 150.7 kB / 386.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3049, allocations: 8 kB / 386.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.3051, allocations: 19.97 kB / 386.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3051, allocations: 3.938 kB / 386.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3051, allocations: 3.984 kB / 386.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3051, allocations: 7.938 kB / 386.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3051, allocations: 0 / 386.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.3056, allocations: 177.8 kB / 386.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3057, allocations: 51.84 kB / 386.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.3058, allocations: 4.062 kB / 386.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.306, allocations: 7.938 kB / 386.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.306, allocations: 11.98 kB / 386.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.306, allocations: 7.984 kB / 386.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3062, allocations: 127.9 kB / 386.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3062, allocations: 0 / 386.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000616/0.3069, allocations: 167.5 kB / 386.9 MB, free: 12.64 MB / 330.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 (8): * Single equations (assignments): 7 * 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.001073/0.3079, allocations: 418.5 kB / 387.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.3083, allocations: 75.88 kB / 387.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3083, allocations: 0 / 387.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3084, allocations: 48.72 kB / 387.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3087, allocations: 36.72 kB / 387.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.3094, allocations: 253.6 kB / 387.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.198e-05/0.3095, allocations: 72.16 kB / 387.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006899/0.3102, allocations: 433.9 kB / 388.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.3104, allocations: 44.45 kB / 388.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3104, allocations: 0 / 388.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01438/0.3247, allocations: 6.539 MB / 394.8 MB, free: 4.711 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.719645838951692]