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.001955/0.001955, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002103/0.002103, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00161/0.00161, allocations: 47.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09721, allocations: 53.33 MB / 426.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002567/0.09978, allocations: 1.382 MB / 428.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3525/0.4522, allocations: 152.4 MB / 0.5669 GB, free: 6.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.4523, allocations: 0 / 0.5669 GB, free: 6.355 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.4523, allocations: 0 / 0.5669 GB, free: 6.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.4536, allocations: 378.4 kB / 0.5673 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.455, allocations: 0.5143 MB / 0.5678 GB, free: 5.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.4552, allocations: 71.64 kB / 0.5679 GB, free: 5.402 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.4552, allocations: 4 kB / 0.5679 GB, free: 5.398 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.4553, allocations: 27.92 kB / 0.5679 GB, free: 5.371 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.4554, allocations: 47.77 kB / 0.5679 GB, free: 5.324 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.4554, allocations: 0 / 0.5679 GB, free: 5.324 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.4575, allocations: 1.134 MB / 0.5691 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.4576, allocations: 15.97 kB / 0.5691 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.4576, allocations: 27.86 kB / 0.5691 GB, free: 4.145 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.4589, allocations: 0.6911 MB / 0.5698 GB, free: 3.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4589, allocations: 0 / 0.5698 GB, free: 3.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4589, allocations: 0 / 0.5698 GB, free: 3.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.4589, allocations: 3.938 kB / 0.5698 GB, free: 3.453 MB / 478.1 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.0007548/0.4597, allocations: 470.2 kB / 0.5702 GB, free: 2.945 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.4597, allocations: 8.031 kB / 0.5702 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.4603, allocations: 72.78 kB / 0.5703 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.4605, allocations: 200.2 kB / 0.5705 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4605, allocations: 11.88 kB / 0.5705 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4605, allocations: 0 / 0.5705 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4607, allocations: 71.38 kB / 0.5706 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4607, allocations: 8 kB / 0.5706 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4607, allocations: 4 kB / 0.5706 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.4607, allocations: 0 / 0.5706 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4608, allocations: 39.91 kB / 0.5706 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.4611, allocations: 194.5 kB / 0.5708 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.4614, allocations: 113.2 kB / 0.5709 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.4615, allocations: 37.75 kB / 0.571 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004902/0.462, allocations: 137 kB / 0.5711 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.462, allocations: 38.56 kB / 0.5711 GB, free: 1.875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.462, allocations: 0 / 0.5711 GB, free: 1.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000397/0.4624, allocations: 113.5 kB / 0.5712 GB, free: 1.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.4625, allocations: 85.09 kB / 0.5713 GB, free: 1.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4626, allocations: 139.2 kB / 0.5714 GB, free: 1.512 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.4627, allocations: 29.7 kB / 0.5715 GB, free: 1.477 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.4627, allocations: 84.14 kB / 0.5715 GB, free: 1.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.4627, allocations: 27.78 kB / 0.5716 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.4628, allocations: 25.7 kB / 0.5716 GB, free: 1.332 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4629, allocations: 314.8 kB / 0.5719 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.463, allocations: 31.97 kB / 0.5719 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-05/0.4631, allocations: 47.42 kB / 0.572 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.4633, allocations: 87.64 kB / 0.5721 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4633, allocations: 4 kB / 0.5721 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002881/0.4636, allocations: 105.5 kB / 0.5722 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4636, allocations: 8 kB / 0.5722 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4636, allocations: 4.062 kB / 0.5722 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4636, allocations: 4 kB / 0.5722 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.4637, allocations: 15.98 kB / 0.5722 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4637, allocations: 0 / 0.5722 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.4638, allocations: 7.953 kB / 0.5722 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.4638, allocations: 3.938 kB / 0.5722 GB, free: 0.6719 MB / 478.1 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.811e-05/0.4639, allocations: 121.8 kB / 0.5723 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.4639, allocations: 4 kB / 0.5723 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.4642, allocations: 124.3 kB / 0.5724 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4642, allocations: 0.625 kB / 0.5724 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4642, allocations: 0 / 0.5724 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4642, allocations: 4 kB / 0.5724 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.4644, allocations: 185.6 kB / 0.5726 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4644, allocations: 0.5625 kB / 0.5726 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.4645, allocations: 15.94 kB / 0.5726 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4645, allocations: 0 / 0.5726 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4645, allocations: 3.984 kB / 0.5726 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4645, allocations: 2.25 kB / 0.5726 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4645, allocations: 8 kB / 0.5727 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.4649, allocations: 158.5 kB / 0.5728 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.465, allocations: 89.06 kB / 0.5729 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.465, allocations: 4 kB / 0.5729 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.465, allocations: 4 kB / 0.5729 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.4651, allocations: 11.98 kB / 0.5729 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4651, allocations: 4 kB / 0.5729 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.037e-05/0.4652, allocations: 111.3 kB / 0.573 GB, free: 15.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4652, allocations: 0 / 0.573 GB, free: 15.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005836/0.4658, allocations: 171.4 kB / 0.5732 GB, free: 15.57 MB / 494.1 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.001028/0.4668, allocations: 411.3 kB / 0.5736 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.467, allocations: 63.89 kB / 0.5736 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.467, allocations: 0 / 0.5736 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.4671, allocations: 32.11 kB / 0.5737 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.4674, allocations: 31.67 kB / 0.5737 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.468, allocations: 320.3 kB / 0.574 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4683, allocations: 0.6923 MB / 0.5747 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.4684, allocations: 12.7 kB / 0.5747 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.4684, allocations: 19.44 kB / 0.5747 GB, free: 13.95 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.4684, allocations: 0 / 0.5747 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Templates: time 0.01005/0.4785, allocations: 4.735 MB / 0.5793 GB, free: 9.23 MB / 494.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.024781432002783]