Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.533e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00244/0.002466, allocations: 1.367 MB / 273.5 MB, free: 448 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2856/0.2881, allocations: 131 MB / 404.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.2881, allocations: 0 / 404.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.064e-05/0.2882, allocations: 0 / 404.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2895, allocations: 383.5 kB / 404.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.291, allocations: 0.5329 MB / 405.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2911, allocations: 75.58 kB / 405.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.2911, allocations: 8 kB / 405.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.2912, allocations: 43.89 kB / 405.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.2913, allocations: 31.89 kB / 405.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2914, allocations: 4 kB / 405.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.2933, allocations: 0.9463 MB / 406.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.2934, allocations: 15.92 kB / 406.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.2934, allocations: 23.86 kB / 406.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.2948, allocations: 0.7558 MB / 407.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2948, allocations: 0 / 407.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2948, allocations: 4 kB / 407.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2948, allocations: 0 / 407.3 MB, free: 10.05 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.0006927/0.2955, allocations: 381.8 kB / 407.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2955, allocations: 11.98 kB / 407.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.296, allocations: 84.67 kB / 407.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2962, allocations: 133.7 kB / 407.9 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2962, allocations: 4.375 kB / 407.9 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.2962, allocations: 8.547 kB / 407.9 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.2965, allocations: 75.27 kB / 408 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2965, allocations: 0 / 408 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2965, allocations: 4 kB / 408 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2965, allocations: 3.984 kB / 408 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2966, allocations: 39.97 kB / 408.1 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.2968, allocations: 138.2 kB / 408.2 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.2972, allocations: 117.1 kB / 408.3 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.2973, allocations: 33.75 kB / 408.3 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.2978, allocations: 63.94 kB / 408.4 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.2979, allocations: 34.5 kB / 408.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2979, allocations: 0 / 408.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004054/0.2983, allocations: 121.5 kB / 408.6 MB, free: 8.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.2985, allocations: 85.03 kB / 408.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2986, allocations: 145.8 kB / 408.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2986, allocations: 25.7 kB / 408.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.2987, allocations: 88.14 kB / 408.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.2987, allocations: 23.84 kB / 408.9 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.2988, allocations: 21.72 kB / 408.9 MB, free: 8.254 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2989, allocations: 318.8 kB / 409.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.299, allocations: 23.97 kB / 409.3 MB, free: 7.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.2991, allocations: 48.3 kB / 409.3 MB, free: 7.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2993, allocations: 87.64 kB / 409.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2993, allocations: 4 kB / 409.4 MB, free: 7.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002814/0.2996, allocations: 117.5 kB / 409.5 MB, free: 7.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2996, allocations: 11.94 kB / 409.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2996, allocations: 0 / 409.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.2996, allocations: 7.922 kB / 409.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.2997, allocations: 12 kB / 409.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2997, allocations: 6.125 kB / 409.6 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.2998, allocations: 3.953 kB / 409.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2998, allocations: 7.984 kB / 409.6 MB, free: 7.582 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 9.938e-05/0.2999, allocations: 113.8 kB / 409.7 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.2999, allocations: 15.89 kB / 409.7 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.3002, allocations: 120.3 kB / 409.8 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3003, allocations: 0 / 409.8 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3003, allocations: 0 / 409.8 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3003, allocations: 3.984 kB / 409.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3004, allocations: 125.3 kB / 409.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3004, allocations: 4 kB / 409.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.3005, allocations: 11.98 kB / 410 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3005, allocations: 3.938 kB / 410 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3005, allocations: 4 kB / 410 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3005, allocations: 3.938 kB / 410 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3005, allocations: 4 kB / 410 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.3009, allocations: 166.7 kB / 410.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.301, allocations: 11.97 kB / 410.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.301, allocations: 4 kB / 410.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.301, allocations: 3.938 kB / 410.2 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3011, allocations: 7.984 kB / 410.2 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3011, allocations: 6.938 kB / 410.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3012, allocations: 113.8 kB / 410.3 MB, free: 6.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3012, allocations: 0 / 410.3 MB, free: 6.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006286/0.3018, allocations: 175.4 kB / 410.4 MB, free: 6.641 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.001054/0.3029, allocations: 438.5 kB / 410.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.3031, allocations: 63.91 kB / 410.9 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3031, allocations: 0 / 410.9 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.419e-05/0.3032, allocations: 31.97 kB / 411 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.3035, allocations: 25.91 kB / 411 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.3041, allocations: 259.1 kB / 411.2 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.073e-05/0.3042, allocations: 71.33 kB / 411.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.982e-05/0.3042, allocations: 18.11 kB / 411.3 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3043, allocations: 24.44 kB / 411.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3043, allocations: 0 / 411.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of Templates: time 0.01141/0.3157, allocations: 5.007 MB / 416.4 MB, free: 0.7344 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.748083990998566]