Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001132/0.001132, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001722/0.002854, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001108/0.001108, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002542, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9309/0.9309, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08118/1.012, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.766e-06/9.998e-06, allocations: 5.828 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001609/0.001619, allocations: 1.461 MB / 246.2 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2253/0.2269, allocations: 144.7 MB / 390.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.2269, allocations: 0 / 390.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.227, allocations: 11.86 kB / 390.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008383/0.2278, allocations: 374.1 kB / 391.3 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008067/0.2286, allocations: 0.4949 MB / 391.8 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.2287, allocations: 79.58 kB / 391.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.916e-05/0.2287, allocations: 7.938 kB / 391.8 MB, free: 6.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.288e-05/0.2288, allocations: 59.88 kB / 391.9 MB, free: 5.961 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.2289, allocations: 23.92 kB / 391.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2289, allocations: 0 / 391.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.2301, allocations: 0.9853 MB / 392.9 MB, free: 4.949 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.2301, allocations: 15.92 kB / 392.9 MB, free: 4.934 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.2301, allocations: 19.94 kB / 392.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000683/0.2308, allocations: 0.639 MB / 393.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2308, allocations: 0 / 393.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2308, allocations: 0 / 393.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2308, allocations: 8 kB / 393.6 MB, free: 4.266 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.0004406/0.2313, allocations: 428.7 kB / 394 MB, free: 3.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.423e-05/0.2313, allocations: 8.031 kB / 394 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.2316, allocations: 157.8 kB / 394.2 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.565e-05/0.2317, allocations: 136.5 kB / 394.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2317, allocations: 384 / 394.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2317, allocations: 4.562 kB / 394.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.2318, allocations: 78.8 kB / 394.4 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.2318, allocations: 0 / 394.4 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.2318, allocations: 0 / 394.4 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2318, allocations: 3.938 kB / 394.4 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.2318, allocations: 21.64 kB / 394.4 MB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.482e-05/0.2319, allocations: 80.77 kB / 394.5 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.2321, allocations: 72.47 kB / 394.6 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.2321, allocations: 21.7 kB / 394.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.2322, allocations: 51.94 kB / 394.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2323, allocations: 34.56 kB / 394.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.11e-07/0.2323, allocations: 0 / 394.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001373/0.2324, allocations: 65.55 kB / 394.7 MB, free: 2.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2324, allocations: 85.09 kB / 394.8 MB, free: 2.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.2325, allocations: 128.3 kB / 394.9 MB, free: 2.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.2325, allocations: 25.7 kB / 395 MB, free: 2.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/0.2325, allocations: 88.12 kB / 395.1 MB, free: 2.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.2325, allocations: 23.78 kB / 395.1 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.2326, allocations: 29.7 kB / 395.1 MB, free: 2.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.2326, allocations: 318.8 kB / 395.4 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.2326, allocations: 6.828 kB / 395.4 MB, free: 2.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.2327, allocations: 35.36 kB / 395.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.2327, allocations: 57 kB / 395.5 MB, free: 2.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2327, allocations: 0 / 395.5 MB, free: 2.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.743e-05/0.2328, allocations: 75.2 kB / 395.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.2328, allocations: 4.062 kB / 395.6 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2328, allocations: 8 kB / 395.6 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2328, allocations: 3.938 kB / 395.6 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.2329, allocations: 17.3 kB / 395.6 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2329, allocations: 7.938 kB / 395.6 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.2329, allocations: 0 / 395.6 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.2329, allocations: 4 kB / 395.6 MB, free: 1.984 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 4.484e-05/0.2329, allocations: 112.7 kB / 395.7 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.233, allocations: 15.92 kB / 395.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.2331, allocations: 71.88 kB / 395.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2331, allocations: 11.94 kB / 395.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2331, allocations: 4.031 kB / 395.8 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2331, allocations: 3.984 kB / 395.8 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.172e-05/0.2331, allocations: 77.89 kB / 395.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2331, allocations: 1.688 kB / 395.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.2332, allocations: 15.98 kB / 395.9 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.2332, allocations: 9.609 kB / 395.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2332, allocations: 0 / 395.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2332, allocations: 4 kB / 396 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2332, allocations: 0 / 396 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2332, allocations: 3.938 kB / 396 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.2333, allocations: 115 kB / 396.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.2333, allocations: 0 / 396.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.2333, allocations: 7.984 kB / 396.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.2334, allocations: 4.812 kB / 396.1 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2334, allocations: 4 kB / 396.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.445e-05/0.2334, allocations: 32.31 kB / 396.1 MB, free: 1.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2334, allocations: 0 / 396.1 MB, free: 1.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.2337, allocations: 175.4 kB / 396.3 MB, free: 1.27 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.0005887/0.2343, allocations: 434.5 kB / 396.7 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.532e-05/0.2344, allocations: 28.92 kB / 396.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2344, allocations: 4 kB / 396.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.2344, allocations: 37.03 kB / 396.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.2346, allocations: 201.7 kB / 397 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.236, allocations: 219.1 kB / 397.2 MB, free: 296 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.236, allocations: 63.34 kB / 397.3 MB, free: 212 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.2361, allocations: 12.59 kB / 397.3 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.2361, allocations: 71.36 kB / 397.3 MB, free: 132 kB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2361, allocations: 0 / 397.3 MB, free: 132 kB / 362.7 MB Notification: Performance of Templates: time 0.006759/0.2429, allocations: 6.559 MB / 403.9 MB, free: 9.637 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.861347739584744]