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.0008072/0.0008072, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001906, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007148/0.0007148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009184/0.001633, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9203/0.9203, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07919/0.9995, allocations: 53.66 MB / 243.3 MB, free: 15.58 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 2.044e-06/2.044e-06, allocations: 4 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.589e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001466/0.001482, allocations: 1.457 MB / 246 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2415/0.2429, allocations: 144.7 MB / 390.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.243, allocations: 4 kB / 390.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.243, allocations: 3.984 kB / 390.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009327/0.244, allocations: 374 kB / 391.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009517/0.2449, allocations: 0.4908 MB / 391.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.245, allocations: 79.58 kB / 391.6 MB, free: 6.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.2451, allocations: 0 / 391.6 MB, free: 6.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.2452, allocations: 55.88 kB / 391.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.2452, allocations: 35.89 kB / 391.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2453, allocations: 4 kB / 391.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.2467, allocations: 0.9775 MB / 392.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.2467, allocations: 19.92 kB / 392.7 MB, free: 5.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.2468, allocations: 12 kB / 392.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.2476, allocations: 0.6467 MB / 393.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.2476, allocations: 3.938 kB / 393.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2476, allocations: 0 / 393.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.2477, allocations: 0 / 393.4 MB, free: 4.402 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.0006189/0.2483, allocations: 436.1 kB / 393.8 MB, free: 3.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2483, allocations: 12.03 kB / 393.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.2486, allocations: 149.9 kB / 394 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2488, allocations: 136.5 kB / 394.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2488, allocations: 384 / 394.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2488, allocations: 8.5 kB / 394.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.2489, allocations: 74.86 kB / 394.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.2489, allocations: 0 / 394.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.2489, allocations: 0 / 394.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2489, allocations: 0 / 394.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.076e-05/0.2489, allocations: 21.62 kB / 394.2 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.432e-05/0.249, allocations: 87.45 kB / 394.3 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.2492, allocations: 72.52 kB / 394.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.2492, allocations: 21.72 kB / 394.4 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.2494, allocations: 39.95 kB / 394.4 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.2494, allocations: 42.55 kB / 394.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2494, allocations: 3.938 kB / 394.5 MB, free: 3.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001558/0.2496, allocations: 65.61 kB / 394.5 MB, free: 3.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2496, allocations: 81.05 kB / 394.6 MB, free: 3.008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.2497, allocations: 132.9 kB / 394.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.2497, allocations: 29.64 kB / 394.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.2497, allocations: 88.12 kB / 394.9 MB, free: 2.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2497, allocations: 23.78 kB / 394.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.2497, allocations: 21.72 kB / 394.9 MB, free: 2.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.2498, allocations: 318.8 kB / 395.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.2498, allocations: 14.83 kB / 395.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.2499, allocations: 27.42 kB / 395.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.2499, allocations: 53.38 kB / 395.3 MB, free: 2.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2499, allocations: 1.25 kB / 395.3 MB, free: 2.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.384e-05/0.25, allocations: 79.19 kB / 395.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.25, allocations: 6.031 kB / 395.4 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.25, allocations: 4 kB / 395.4 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.25, allocations: 11.98 kB / 395.4 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.2501, allocations: 15.94 kB / 395.4 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.2501, allocations: 4 kB / 395.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.2501, allocations: 0 / 395.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2501, allocations: 7.984 kB / 395.4 MB, free: 2.113 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 5.467e-05/0.2502, allocations: 116.7 kB / 395.6 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.2502, allocations: 7.938 kB / 395.6 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.2503, allocations: 72.06 kB / 395.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2503, allocations: 7.938 kB / 395.6 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2503, allocations: 4.875 kB / 395.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2503, allocations: 0 / 395.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.2504, allocations: 82.5 kB / 395.7 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2504, allocations: 0 / 395.7 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.2504, allocations: 12 kB / 395.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.2504, allocations: 7.984 kB / 395.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2504, allocations: 0 / 395.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2505, allocations: 5.938 kB / 395.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2505, allocations: 4 kB / 395.8 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2505, allocations: 3.938 kB / 395.8 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2506, allocations: 115.1 kB / 395.9 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.2506, allocations: 4 kB / 395.9 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.2506, allocations: 0 / 395.9 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.2506, allocations: 7.922 kB / 395.9 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2506, allocations: 7.938 kB / 395.9 MB, free: 1.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.2507, allocations: 33.52 kB / 395.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2507, allocations: 0 / 395.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.251, allocations: 171.4 kB / 396.1 MB, free: 1.406 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.000614/0.2517, allocations: 445.5 kB / 396.5 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.2517, allocations: 32.78 kB / 396.6 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2517, allocations: 4 kB / 396.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/0.2518, allocations: 16.84 kB / 396.6 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.2519, allocations: 37.67 kB / 396.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2532, allocations: 238.1 kB / 396.8 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.2533, allocations: 63.34 kB / 396.9 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.2533, allocations: 15.72 kB / 396.9 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.2534, allocations: 67.36 kB / 397 MB, free: 456 kB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2534, allocations: 0 / 397 MB, free: 456 kB / 362.7 MB Notification: Performance of Templates: time 0.007242/0.2606, allocations: 6.541 MB / 403.5 MB, free: 9.961 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.874924967996776]