Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.002189/0.002189, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001839/0.001839, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.783e-05, allocations: 2.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002911/0.002939, allocations: 1.374 MB / 268.7 MB, free: 5.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.3004/0.3034, allocations: 141.8 MB / 410.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.3034, allocations: 0 / 410.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.805e-05/0.3035, allocations: 7.922 kB / 410.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.3048, allocations: 377 kB / 410.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3061, allocations: 0.5252 MB / 411.4 MB, free: 9.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3062, allocations: 83.56 kB / 411.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.3063, allocations: 4 kB / 411.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.3064, allocations: 39.91 kB / 411.5 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.3065, allocations: 31.89 kB / 411.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3065, allocations: 4 kB / 411.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.3084, allocations: 0.9307 MB / 412.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.3084, allocations: 15.97 kB / 412.5 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.3084, allocations: 19.94 kB / 412.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.31, allocations: 0.748 MB / 413.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.31, allocations: 7.922 kB / 413.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.31, allocations: 0 / 413.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.31, allocations: 4 kB / 413.3 MB, free: 7.906 MB / 362.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.0007545/0.3107, allocations: 483.2 kB / 413.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3108, allocations: 8.922 kB / 413.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005438/0.3113, allocations: 76.73 kB / 413.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.3115, allocations: 136.5 kB / 413.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3115, allocations: 1.062 kB / 413.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3116, allocations: 8.562 kB / 414 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3117, allocations: 76.92 kB / 414 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3117, allocations: 0 / 414 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3117, allocations: 0 / 414 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3118, allocations: 3.312 kB / 414 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.3118, allocations: 23.98 kB / 414.1 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.3121, allocations: 140.4 kB / 414.2 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.3124, allocations: 90.09 kB / 414.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.3125, allocations: 27.44 kB / 414.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.3129, allocations: 55.94 kB / 414.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3129, allocations: 33.39 kB / 414.4 MB, free: 6.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3129, allocations: 0 / 414.4 MB, free: 6.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003752/0.3133, allocations: 97.42 kB / 414.5 MB, free: 6.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.3133, allocations: 81.05 kB / 414.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3135, allocations: 193.9 kB / 414.8 MB, free: 6.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3135, allocations: 25.7 kB / 414.8 MB, free: 6.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.3136, allocations: 130.9 kB / 414.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3137, allocations: 23.8 kB / 414.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.3137, allocations: 35.3 kB / 415 MB, free: 5.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002742/0.314, allocations: 0.4884 MB / 415.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.3141, allocations: 11.98 kB / 415.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.3141, allocations: 50.73 kB / 415.5 MB, free: 5.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3143, allocations: 67.05 kB / 415.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3143, allocations: 0 / 415.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.3145, allocations: 89.55 kB / 415.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3146, allocations: 7.938 kB / 415.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.3146, allocations: 4 kB / 415.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3146, allocations: 4.062 kB / 415.7 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.3147, allocations: 19.92 kB / 415.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3147, allocations: 0 / 415.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.3147, allocations: 15.89 kB / 415.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3147, allocations: 4 kB / 415.7 MB, free: 5.168 MB / 362.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.0001239/0.3149, allocations: 156.6 kB / 415.9 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.3149, allocations: 8 kB / 415.9 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3152, allocations: 98.34 kB / 416 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3152, allocations: 0 / 416 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3152, allocations: 0 / 416 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3152, allocations: 4 kB / 416 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3153, allocations: 128.6 kB / 416.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3153, allocations: 0 / 416.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.3154, allocations: 12 kB / 416.1 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3154, allocations: 0 / 416.1 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3154, allocations: 0 / 416.1 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3154, allocations: 8.688 kB / 416.1 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.3154, allocations: 7.922 kB / 416.1 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.3158, allocations: 132.1 kB / 416.3 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.3158, allocations: 11.94 kB / 416.3 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3158, allocations: 0.875 kB / 416.3 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.3159, allocations: 11.97 kB / 416.3 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3159, allocations: 7.984 kB / 416.3 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3159, allocations: 0 / 416.3 MB, free: 4.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.316, allocations: 148.1 kB / 416.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.316, allocations: 4 kB / 416.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006045/0.3167, allocations: 159.4 kB / 416.6 MB, free: 4.207 MB / 362.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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001181/0.3178, allocations: 458.2 kB / 417.1 MB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.318, allocations: 55.59 kB / 417.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.318, allocations: 0 / 417.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.3181, allocations: 23.67 kB / 417.1 MB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3184, allocations: 25.23 kB / 417.2 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.3189, allocations: 250.7 kB / 417.4 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.319, allocations: 75.33 kB / 417.5 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.908e-05/0.3191, allocations: 17.31 kB / 417.5 MB, free: 3.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.3191, allocations: 24.48 kB / 417.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3191, allocations: 0 / 417.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of Templates: time 0.01149/0.3306, allocations: 5.019 MB / 422.5 MB, free: 14.28 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.993309322977439]