Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001405/0.001405, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001538/0.001538, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.9051/0.9051, allocations: 177.1 MB / 205 MB, free: 5.242 MB / 186.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 3.984 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.57e-05, allocations: 2.312 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001531/0.001546, allocations: 1.404 MB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2084/0.2099, allocations: 144.6 MB / 419 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.21, allocations: 0 / 419 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.21, allocations: 0 / 419 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007522/0.2107, allocations: 246.8 kB / 419.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006964/0.2114, allocations: 423 kB / 419.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.2115, allocations: 55.67 kB / 419.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.2115, allocations: 0 / 419.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.2116, allocations: 35.89 kB / 419.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.2117, allocations: 23.97 kB / 419.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2117, allocations: 4 kB / 419.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.2126, allocations: 0.5728 MB / 420.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.2126, allocations: 7.984 kB / 420.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.2126, allocations: 19.92 kB / 420.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.2132, allocations: 0.5299 MB / 420.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2132, allocations: 0 / 420.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2132, allocations: 3.938 kB / 420.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2132, allocations: 4 kB / 420.9 MB, free: 13.45 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.0003927/0.2136, allocations: 453 kB / 421.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2136, allocations: 8.031 kB / 421.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006814/0.2143, allocations: 112.7 kB / 421.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.2145, allocations: 241 kB / 421.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2145, allocations: 0.5625 kB / 421.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.2146, allocations: 7.938 kB / 421.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2147, allocations: 96.97 kB / 421.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2147, allocations: 7.922 kB / 421.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2147, allocations: 4 kB / 421.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2147, allocations: 0.8125 kB / 421.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.2148, allocations: 43.95 kB / 421.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.215, allocations: 157.6 kB / 422 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.2152, allocations: 146 kB / 422.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.2153, allocations: 39.41 kB / 422.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.2154, allocations: 92.58 kB / 422.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2155, allocations: 37.33 kB / 422.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2155, allocations: 0 / 422.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002526/0.2157, allocations: 134.4 kB / 422.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.2157, allocations: 81.05 kB / 422.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2159, allocations: 225.9 kB / 422.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2159, allocations: 29.7 kB / 422.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.2159, allocations: 130.9 kB / 422.9 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.2159, allocations: 19.8 kB / 422.9 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.216, allocations: 39.34 kB / 422.9 MB, free: 11.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.2161, allocations: 0.4923 MB / 423.4 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.2161, allocations: 15.98 kB / 423.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.2162, allocations: 66.72 kB / 423.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2163, allocations: 92.34 kB / 423.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2163, allocations: 4 kB / 423.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001585/0.2164, allocations: 121.8 kB / 423.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2164, allocations: 4 kB / 423.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2165, allocations: 4.094 kB / 423.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2165, allocations: 6.234 kB / 423.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.2165, allocations: 27.97 kB / 423.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2165, allocations: 0 / 423.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.2166, allocations: 7.984 kB / 423.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2166, allocations: 8 kB / 423.8 MB, free: 10.28 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.2e-05/0.2167, allocations: 164.6 kB / 423.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.2167, allocations: 19.77 kB / 424 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.217, allocations: 183.1 kB / 424.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.217, allocations: 4 kB / 424.1 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.217, allocations: 0 / 424.1 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.217, allocations: 0 / 424.1 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2171, allocations: 146.6 kB / 424.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2171, allocations: 7.984 kB / 424.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.2172, allocations: 19.98 kB / 424.3 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2172, allocations: 0 / 424.3 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2172, allocations: 11.92 kB / 424.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2172, allocations: 0.875 kB / 424.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2172, allocations: 0 / 424.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2174, allocations: 160 kB / 424.5 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.2175, allocations: 43.88 kB / 424.5 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2175, allocations: 11.92 kB / 424.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.167e-05/0.2175, allocations: 1.875 kB / 424.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.2176, allocations: 16.02 kB / 424.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2176, allocations: 4 kB / 424.6 MB, free: 9.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.2177, allocations: 188.1 kB / 424.7 MB, free: 9.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2177, allocations: 0 / 424.7 MB, free: 9.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.218, allocations: 135.5 kB / 424.9 MB, free: 9.113 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003994/0.2184, allocations: 328.6 kB / 425.2 MB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.2185, allocations: 75.56 kB / 425.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2185, allocations: 4.125 kB / 425.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.2186, allocations: 35.67 kB / 425.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.2188, allocations: 40.91 kB / 425.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.2193, allocations: 261.5 kB / 425.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.2193, allocations: 63.34 kB / 425.7 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003365/0.2197, allocations: 429 kB / 426.1 MB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.2198, allocations: 48.45 kB / 426.1 MB, free: 7.809 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2198, allocations: 0 / 426.1 MB, free: 7.809 MB / 378.7 MB Notification: Performance of Templates: time 0.006402/0.2262, allocations: 5.652 MB / 431.8 MB, free: 2.176 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.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.047588547691703]