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.001004/0.001004, allocations: 95.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001034/0.001034, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9488/0.9488, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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 1.412e-06/1.412e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.87e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.0024/0.002419, allocations: 1.411 MB / 274.3 MB, free: 20 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2238/0.2263, allocations: 144.9 MB / 419.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.2263, allocations: 0 / 419.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.2263, allocations: 3.938 kB / 419.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.2277, allocations: 388.5 kB / 419.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.2285, allocations: 0.533 MB / 420.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2287, allocations: 79.62 kB / 420.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.2287, allocations: 0 / 420.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.2288, allocations: 47.78 kB / 420.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.2288, allocations: 35.95 kB / 420.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.2288, allocations: 4 kB / 420.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.23, allocations: 0.9424 MB / 421.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.2301, allocations: 19.91 kB / 421.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.2301, allocations: 15.98 kB / 421.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008499/0.231, allocations: 0.7558 MB / 422.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.231, allocations: 0 / 422.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.231, allocations: 0 / 422.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.231, allocations: 4 kB / 422.1 MB, free: 12.71 MB / 378.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.000501/0.2315, allocations: 488.5 kB / 422.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2315, allocations: 15.98 kB / 422.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.2318, allocations: 72.75 kB / 422.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.232, allocations: 136.4 kB / 422.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.232, allocations: 4.375 kB / 422.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.232, allocations: 4.547 kB / 422.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2321, allocations: 85.69 kB / 422.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.2321, allocations: 3.938 kB / 422.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.2321, allocations: 0 / 422.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2321, allocations: 0 / 422.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.2322, allocations: 15.92 kB / 422.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.2323, allocations: 140.4 kB / 423 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.2325, allocations: 86.16 kB / 423.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.2325, allocations: 27.38 kB / 423.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.2327, allocations: 51.94 kB / 423.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2327, allocations: 37.39 kB / 423.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2327, allocations: 0 / 423.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001903/0.2329, allocations: 81.5 kB / 423.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.233, allocations: 81.11 kB / 423.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.233, allocations: 186.5 kB / 423.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.2331, allocations: 25.7 kB / 423.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.2331, allocations: 134.9 kB / 423.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.2331, allocations: 27.78 kB / 423.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.2332, allocations: 23.38 kB / 423.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2333, allocations: 0.4923 MB / 424.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.2333, allocations: 8 kB / 424.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.2333, allocations: 46.73 kB / 424.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.2334, allocations: 63.03 kB / 424.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2334, allocations: 0 / 424.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001118/0.2335, allocations: 85.45 kB / 424.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2335, allocations: 8.562 kB / 424.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2335, allocations: 0 / 424.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2335, allocations: 12.05 kB / 424.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.209e-05/0.2336, allocations: 16 kB / 424.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2336, allocations: 0 / 424.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.2336, allocations: 7.953 kB / 424.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.2336, allocations: 0 / 424.5 MB, free: 10.01 MB / 378.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 6.511e-05/0.2337, allocations: 168.5 kB / 424.6 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.2337, allocations: 15.89 kB / 424.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.2338, allocations: 76.33 kB / 424.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2338, allocations: 11.88 kB / 424.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2338, allocations: 0 / 424.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2338, allocations: 4 kB / 424.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.864e-05/0.2339, allocations: 128.6 kB / 424.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2339, allocations: 1.062 kB / 424.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.2339, allocations: 12 kB / 424.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2339, allocations: 0 / 424.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.234, allocations: 0 / 424.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.234, allocations: 3.938 kB / 424.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.234, allocations: 7.984 kB / 424.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.2341, allocations: 128.7 kB / 425 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.2341, allocations: 11.94 kB / 425 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2341, allocations: 8.031 kB / 425 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.742e-05/0.2342, allocations: 3.938 kB / 425.1 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.2342, allocations: 8.734 kB / 425.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2342, allocations: 0 / 425.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.2342, allocations: 144.7 kB / 425.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2342, allocations: 0 / 425.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.2346, allocations: 175.4 kB / 425.4 MB, free: 9.047 MB / 378.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.0005978/0.2352, allocations: 430.5 kB / 425.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.2353, allocations: 43.59 kB / 425.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2353, allocations: 4.125 kB / 425.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.2353, allocations: 27.61 kB / 425.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.2355, allocations: 24.48 kB / 425.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.2361, allocations: 262.6 kB / 426.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.2361, allocations: 63.34 kB / 426.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.2361, allocations: 13.27 kB / 426.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.2362, allocations: 16.5 kB / 426.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2362, allocations: 0 / 426.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of Templates: time 0.007236/0.2434, allocations: 6.324 MB / 432.6 MB, free: 1.895 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.1432694350369275]