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.0007553/0.0007553, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001832, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006333/0.0006333, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009333/0.001567, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8665/0.8665, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1661/1.033, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.63e-05, allocations: 2.312 kB / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001734/0.00175, allocations: 1.439 MB / 241.2 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2405/0.2423, allocations: 141.8 MB / 383 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.2423, allocations: 0 / 383 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.2423, allocations: 3.938 kB / 383 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007836/0.2431, allocations: 370.2 kB / 383.4 MB, free: 8.277 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.2439, allocations: 0.499 MB / 383.9 MB, free: 8.074 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.244, allocations: 74.05 kB / 384 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.694e-05/0.244, allocations: 5.531 kB / 384 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.2441, allocations: 57.52 kB / 384 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.2441, allocations: 30.06 kB / 384 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.2441, allocations: 2.562 kB / 384 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.2452, allocations: 0.9747 MB / 385 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.2452, allocations: 5.625 kB / 385 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.2452, allocations: 18.19 kB / 385 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.2459, allocations: 0.6395 MB / 385.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2459, allocations: 0 / 385.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2459, allocations: 0 / 385.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2459, allocations: 4 kB / 385.7 MB, free: 7.492 MB / 330.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.0003493/0.2462, allocations: 435.4 kB / 386.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.79e-05/0.2462, allocations: 8 kB / 386.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.2465, allocations: 151.5 kB / 386.3 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.2466, allocations: 132.6 kB / 386.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2466, allocations: 7.25 kB / 386.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2466, allocations: 3.5 kB / 386.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/0.2467, allocations: 72.53 kB / 386.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2467, allocations: 0 / 386.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.2467, allocations: 7.109 kB / 386.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2467, allocations: 4 kB / 386.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.2468, allocations: 25.34 kB / 386.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.845e-05/0.2468, allocations: 79.88 kB / 386.6 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.247, allocations: 70.41 kB / 386.7 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.247, allocations: 11.78 kB / 386.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.2471, allocations: 58.39 kB / 386.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.2472, allocations: 33.88 kB / 386.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.2472, allocations: 0 / 386.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001368/0.2473, allocations: 71.72 kB / 386.8 MB, free: 6.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.2473, allocations: 79.83 kB / 386.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.2474, allocations: 140.8 kB / 387 MB, free: 6.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2474, allocations: 25.7 kB / 387.1 MB, free: 6.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/0.2474, allocations: 85.61 kB / 387.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.2475, allocations: 22.36 kB / 387.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.2475, allocations: 27.75 kB / 387.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.2475, allocations: 318 kB / 387.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.2476, allocations: 12.78 kB / 387.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.2476, allocations: 27.17 kB / 387.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.2476, allocations: 53 kB / 387.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2476, allocations: 0 / 387.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.319e-05/0.2477, allocations: 73.45 kB / 387.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.2477, allocations: 9.781 kB / 387.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2477, allocations: 1.969 kB / 387.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2477, allocations: 7.375 kB / 387.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.969e-05/0.2478, allocations: 14.61 kB / 387.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2478, allocations: 2.938 kB / 387.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.2478, allocations: 8.094 kB / 387.7 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.2478, allocations: 4.406 kB / 387.7 MB, free: 5.664 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 4.848e-05/0.2479, allocations: 121.9 kB / 387.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.2479, allocations: 5.469 kB / 387.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.248, allocations: 77.41 kB / 387.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.248, allocations: 3.938 kB / 387.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.248, allocations: 0 / 387.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.248, allocations: 2.656 kB / 387.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.864e-05/0.248, allocations: 82.86 kB / 388 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.248, allocations: 3.938 kB / 388 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.2481, allocations: 18.17 kB / 388 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.2481, allocations: 2.562 kB / 388 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2481, allocations: 4.031 kB / 388 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.2481, allocations: 0 / 388 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2481, allocations: 3.984 kB / 388 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2481, allocations: 7.938 kB / 388.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.2482, allocations: 109.5 kB / 388.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.2482, allocations: 0 / 388.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.2482, allocations: 6.844 kB / 388.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.2482, allocations: 10.58 kB / 388.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.2482, allocations: 3.5 kB / 388.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.111e-05/0.2483, allocations: 25.52 kB / 388.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2483, allocations: 0 / 388.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.2486, allocations: 179.6 kB / 388.4 MB, free: 5.207 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 (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.0006671/0.2492, allocations: 466.9 kB / 388.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.546e-05/0.2493, allocations: 25.28 kB / 388.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2493, allocations: 7.281 kB / 388.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.2493, allocations: 23.17 kB / 388.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.2495, allocations: 199 kB / 389.1 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2508, allocations: 223.3 kB / 389.3 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.886e-05/0.2508, allocations: 64.31 kB / 389.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.709e-05/0.2509, allocations: 9.75 kB / 389.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.2509, allocations: 79.11 kB / 389.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2509, allocations: 0 / 389.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of Templates: time 0.006709/0.2576, allocations: 6.536 MB / 396 MB, free: 376 kB / 330.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 -ignoreHideResult -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","",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.8534099804237485]