Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 62.19 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.09099, allocations: 53.38 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002659/0.09365, allocations: 1.366 MB / 380.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3423/0.4359, allocations: 130.9 MB / 0.4992 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.436, allocations: 0 / 0.4992 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.436, allocations: 2.391 kB / 0.4992 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.4371, allocations: 386.8 kB / 0.4996 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.4381, allocations: 0.5157 MB / 0.5001 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.4382, allocations: 75.2 kB / 0.5001 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.4382, allocations: 6.562 kB / 0.5002 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.4383, allocations: 38.11 kB / 0.5002 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.4384, allocations: 40.89 kB / 0.5002 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.4384, allocations: 0 / 0.5002 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.4398, allocations: 0.9372 MB / 0.5011 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.4398, allocations: 18.31 kB / 0.5012 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.4399, allocations: 22.59 kB / 0.5012 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008317/0.4407, allocations: 0.6731 MB / 0.5018 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4407, allocations: 0 / 0.5018 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4407, allocations: 0 / 0.5018 GB, free: 14.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.4407, allocations: 4 kB / 0.5018 GB, free: 14.54 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.0005666/0.4413, allocations: 385.1 kB / 0.5022 GB, free: 14.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.4413, allocations: 14.02 kB / 0.5022 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.4417, allocations: 67.64 kB / 0.5023 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.4419, allocations: 143.5 kB / 0.5024 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4419, allocations: 3.938 kB / 0.5024 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.4419, allocations: 5.625 kB / 0.5024 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4421, allocations: 69.27 kB / 0.5025 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4421, allocations: 3.938 kB / 0.5025 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.4421, allocations: 4.281 kB / 0.5025 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4421, allocations: 6.625 kB / 0.5025 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.4422, allocations: 38.7 kB / 0.5026 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.4424, allocations: 138.6 kB / 0.5027 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.4427, allocations: 111 kB / 0.5028 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.4427, allocations: 41.98 kB / 0.5028 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004611/0.4432, allocations: 62.44 kB / 0.5029 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4432, allocations: 36.19 kB / 0.5029 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.4432, allocations: 0 / 0.5029 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003379/0.4436, allocations: 118.3 kB / 0.503 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.4436, allocations: 82.69 kB / 0.5031 GB, free: 13.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4437, allocations: 139 kB / 0.5033 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4437, allocations: 33.02 kB / 0.5033 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.4438, allocations: 85.27 kB / 0.5034 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.4438, allocations: 25.47 kB / 0.5034 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.4439, allocations: 22.16 kB / 0.5034 GB, free: 13.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.444, allocations: 318 kB / 0.5037 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.4441, allocations: 26.58 kB / 0.5037 GB, free: 13.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.4441, allocations: 52.19 kB / 0.5038 GB, free: 13.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4443, allocations: 79.73 kB / 0.5039 GB, free: 13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4443, allocations: 4 kB / 0.5039 GB, free: 13 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002374/0.4445, allocations: 112.1 kB / 0.504 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4445, allocations: 6.797 kB / 0.504 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4445, allocations: 2.969 kB / 0.504 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4446, allocations: 0 / 0.504 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.4446, allocations: 15.91 kB / 0.504 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4446, allocations: 5.188 kB / 0.504 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.4447, allocations: 6.578 kB / 0.504 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4447, allocations: 5.781 kB / 0.504 GB, free: 12.95 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.119e-05/0.4448, allocations: 118.6 kB / 0.5041 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.4448, allocations: 10.34 kB / 0.5041 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.4451, allocations: 121.3 kB / 0.5043 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4451, allocations: 3.938 kB / 0.5043 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4451, allocations: 2.781 kB / 0.5043 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4451, allocations: 0 / 0.5043 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.4452, allocations: 130 kB / 0.5044 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4452, allocations: 0 / 0.5044 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.4453, allocations: 21.14 kB / 0.5044 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4453, allocations: 4 kB / 0.5044 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4453, allocations: 1.203 kB / 0.5044 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4453, allocations: 2 kB / 0.5044 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4453, allocations: 0 / 0.5044 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.4456, allocations: 165.2 kB / 0.5046 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.4456, allocations: 12.98 kB / 0.5046 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.4456, allocations: 6.031 kB / 0.5046 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-05/0.4457, allocations: 1.922 kB / 0.5046 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.4457, allocations: 7.594 kB / 0.5046 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4457, allocations: 4.062 kB / 0.5046 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.832e-05/0.4458, allocations: 116.9 kB / 0.5047 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4458, allocations: 0 / 0.5047 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.4463, allocations: 167.5 kB / 0.5049 GB, free: 12.45 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.000787/0.447, allocations: 406.7 kB / 0.5053 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.4472, allocations: 59.64 kB / 0.5053 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4472, allocations: 2.938 kB / 0.5053 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.4473, allocations: 39.33 kB / 0.5054 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4475, allocations: 27.44 kB / 0.5054 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.448, allocations: 308.7 kB / 0.5057 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.4481, allocations: 72.84 kB / 0.5057 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.4481, allocations: 17.53 kB / 0.5058 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.4482, allocations: 16.97 kB / 0.5058 GB, free: 11.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4482, allocations: 0 / 0.5058 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Templates: time 0.008403/0.4566, allocations: 4.837 MB / 0.5105 GB, free: 10.34 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.865514051984064]