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.001719/0.001719, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001497/0.001497, allocations: 167.9 kB / 24.5 MB, free: 3.453 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.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.001565/0.001565, allocations: 51.77 kB / 325.6 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.09014, allocations: 53.33 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002522/0.09267, allocations: 1.351 MB / 380.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3587/0.4514, allocations: 130.9 MB / 0.4992 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.4514, allocations: 1.594 kB / 0.4992 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.4515, allocations: 9.578 kB / 0.4992 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.4526, allocations: 379.7 kB / 0.4996 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4537, allocations: 0.522 MB / 0.5001 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.4538, allocations: 74.55 kB / 0.5001 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.4539, allocations: 6.531 kB / 0.5001 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.4539, allocations: 33.95 kB / 0.5002 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.454, allocations: 37.92 kB / 0.5002 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.454, allocations: 4 kB / 0.5002 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.4554, allocations: 0.9406 MB / 0.5011 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.4555, allocations: 15.69 kB / 0.5011 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.4555, allocations: 22.66 kB / 0.5012 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.4564, allocations: 0.6667 MB / 0.5018 GB, free: 14.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4564, allocations: 0 / 0.5018 GB, free: 14.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4564, allocations: 0 / 0.5018 GB, free: 14.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.4564, allocations: 0 / 0.5018 GB, free: 14.58 MB / 446.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.000578/0.4569, allocations: 391.8 kB / 0.5022 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.457, allocations: 12.19 kB / 0.5022 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000443/0.4574, allocations: 66.78 kB / 0.5023 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.4576, allocations: 141.1 kB / 0.5024 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4576, allocations: 6.5 kB / 0.5024 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4576, allocations: 12.91 kB / 0.5024 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.4578, allocations: 67.55 kB / 0.5025 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4578, allocations: 3.641 kB / 0.5025 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.4578, allocations: 3.062 kB / 0.5025 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4578, allocations: 1.781 kB / 0.5025 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.4579, allocations: 41.36 kB / 0.5025 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.4581, allocations: 143.5 kB / 0.5027 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4583, allocations: 111.5 kB / 0.5028 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.4584, allocations: 37.89 kB / 0.5028 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.4588, allocations: 59.33 kB / 0.5029 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4589, allocations: 40.75 kB / 0.5029 GB, free: 13.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4589, allocations: 0 / 0.5029 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003291/0.4592, allocations: 119.7 kB / 0.503 GB, free: 13.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.4593, allocations: 81.11 kB / 0.5031 GB, free: 13.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4594, allocations: 138.4 kB / 0.5032 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4594, allocations: 26.89 kB / 0.5033 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.4594, allocations: 93.48 kB / 0.5033 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.4595, allocations: 25.28 kB / 0.5034 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.4595, allocations: 22.12 kB / 0.5034 GB, free: 13.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4597, allocations: 318.6 kB / 0.5037 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.4597, allocations: 26.27 kB / 0.5037 GB, free: 13.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.4598, allocations: 50.08 kB / 0.5038 GB, free: 13.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.4599, allocations: 79.23 kB / 0.5038 GB, free: 13.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4599, allocations: 1.594 kB / 0.5038 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002542/0.4602, allocations: 114.6 kB / 0.504 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4602, allocations: 7.922 kB / 0.504 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4602, allocations: 6.531 kB / 0.504 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4602, allocations: 0 / 0.504 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.4603, allocations: 13.8 kB / 0.504 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4603, allocations: 2.188 kB / 0.504 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.4603, allocations: 6.828 kB / 0.504 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4604, allocations: 6.688 kB / 0.504 GB, free: 12.99 MB / 446.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 8.445e-05/0.4604, allocations: 118.2 kB / 0.5041 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.4605, allocations: 10.23 kB / 0.5041 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.4607, allocations: 119 kB / 0.5042 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4607, allocations: 0 / 0.5042 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4607, allocations: 0 / 0.5042 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4607, allocations: 3.188 kB / 0.5042 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.4609, allocations: 127.7 kB / 0.5044 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4609, allocations: 0 / 0.5044 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.4609, allocations: 20.28 kB / 0.5044 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4609, allocations: 10.66 kB / 0.5044 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.461, allocations: 5.094 kB / 0.5044 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.461, allocations: 0 / 0.5044 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.461, allocations: 2.438 kB / 0.5044 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.4613, allocations: 160.4 kB / 0.5045 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.4613, allocations: 13.05 kB / 0.5046 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.4613, allocations: 6.656 kB / 0.5046 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.4614, allocations: 2.297 kB / 0.5046 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.4614, allocations: 4.641 kB / 0.5046 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.4614, allocations: 6.656 kB / 0.5046 GB, free: 12.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.4615, allocations: 115.5 kB / 0.5047 GB, free: 12.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4615, allocations: 6.594 kB / 0.5047 GB, free: 12.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004709/0.462, allocations: 167.2 kB / 0.5049 GB, free: 12.48 MB / 446.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.000781/0.4627, allocations: 416.5 kB / 0.5053 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.4629, allocations: 59.2 kB / 0.5053 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4629, allocations: 0 / 0.5053 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.463, allocations: 33.86 kB / 0.5053 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.4633, allocations: 28.92 kB / 0.5054 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.4638, allocations: 310.6 kB / 0.5057 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.834e-05/0.4639, allocations: 78.14 kB / 0.5057 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.4639, allocations: 15.7 kB / 0.5058 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.4639, allocations: 16.62 kB / 0.5058 GB, free: 12 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4639, allocations: 0 / 0.5058 GB, free: 12 MB / 446.1 MB Notification: Performance of Templates: time 0.008692/0.4726, allocations: 4.825 MB / 0.5105 GB, free: 10.42 MB / 446.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 -s ida -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/jenkins1/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/jenkins1/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: 4.869254613062367]