Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 150.2 kB / 24.81 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9246/0.9246, allocations: 173.4 MB / 201.4 MB, free: 9.184 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.309e-05, allocations: 10.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001485/0.001498, allocations: 1.381 MB / 269.8 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2086/0.21, allocations: 139 MB / 408.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.2101, allocations: 0 / 408.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.2101, allocations: 3.938 kB / 408.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008074/0.2109, allocations: 237.5 kB / 409 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.2117, allocations: 420 kB / 409.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.2117, allocations: 67.64 kB / 409.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.917e-05/0.2118, allocations: 4 kB / 409.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.2118, allocations: 27.92 kB / 409.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.2119, allocations: 23.95 kB / 409.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2119, allocations: 4 kB / 409.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007236/0.2126, allocations: 0.565 MB / 410.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.2126, allocations: 7.984 kB / 410.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.2127, allocations: 19.92 kB / 410.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.2132, allocations: 0.5221 MB / 410.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2132, allocations: 0 / 410.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2132, allocations: 3.938 kB / 410.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.2133, allocations: 4 kB / 410.7 MB, free: 10.46 MB / 362.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.0003581/0.2136, allocations: 460.3 kB / 411.1 MB, free: 9.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2136, allocations: 8.922 kB / 411.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/0.2142, allocations: 96.75 kB / 411.2 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.2144, allocations: 213.2 kB / 411.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2144, allocations: 8.562 kB / 411.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2144, allocations: 3.938 kB / 411.4 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.2145, allocations: 108.9 kB / 411.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.2145, allocations: 0 / 411.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2145, allocations: 4 kB / 411.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2145, allocations: 0 / 411.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.2146, allocations: 43.92 kB / 411.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.2148, allocations: 133.5 kB / 411.7 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.215, allocations: 134 kB / 411.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.215, allocations: 39.41 kB / 411.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.2152, allocations: 111.7 kB / 412 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2152, allocations: 45.33 kB / 412.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2152, allocations: 0 / 412.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001968/0.2154, allocations: 121.4 kB / 412.2 MB, free: 8.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2154, allocations: 77.11 kB / 412.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2155, allocations: 217.9 kB / 412.5 MB, free: 8.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2155, allocations: 25.7 kB / 412.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.2156, allocations: 134.9 kB / 412.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2156, allocations: 19.84 kB / 412.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.2156, allocations: 39.34 kB / 412.7 MB, free: 8.254 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2157, allocations: 0.4923 MB / 413.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.2158, allocations: 15.98 kB / 413.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.2158, allocations: 54.72 kB / 413.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.2159, allocations: 90.62 kB / 413.3 MB, free: 7.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2159, allocations: 0 / 413.3 MB, free: 7.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001405/0.216, allocations: 113.9 kB / 413.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2161, allocations: 12.62 kB / 413.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2161, allocations: 4 kB / 413.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.2161, allocations: 0 / 413.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.2161, allocations: 27.97 kB / 413.5 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.2161, allocations: 0 / 413.5 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.2162, allocations: 11.92 kB / 413.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2162, allocations: 4.812 kB / 413.5 MB, free: 7.383 MB / 362.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.432e-05/0.2163, allocations: 164.5 kB / 413.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.2163, allocations: 11.98 kB / 413.7 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.2165, allocations: 181 kB / 413.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2165, allocations: 4 kB / 413.9 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2165, allocations: 3.312 kB / 413.9 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2165, allocations: 0 / 413.9 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2166, allocations: 122.7 kB / 414 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2166, allocations: 0 / 414 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.2167, allocations: 23.97 kB / 414 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2167, allocations: 0 / 414 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.2167, allocations: 0 / 414 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2167, allocations: 11.98 kB / 414 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2167, allocations: 3.938 kB / 414 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.2169, allocations: 151.9 kB / 414.2 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.217, allocations: 51.8 kB / 414.2 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.217, allocations: 4 kB / 414.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.217, allocations: 4 kB / 414.2 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.2171, allocations: 11.91 kB / 414.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.2171, allocations: 4 kB / 414.2 MB, free: 6.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.799e-05/0.2172, allocations: 179.9 kB / 414.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2172, allocations: 4.031 kB / 414.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.2174, allocations: 135.6 kB / 414.5 MB, free: 6.273 MB / 362.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.0004682/0.2179, allocations: 339.8 kB / 414.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.218, allocations: 71.62 kB / 414.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.218, allocations: 0 / 414.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.2181, allocations: 35.61 kB / 415 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.2182, allocations: 28.84 kB / 415 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.2187, allocations: 273.9 kB / 415.3 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.2188, allocations: 63.84 kB / 415.3 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003349/0.2191, allocations: 432.6 kB / 415.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2192, allocations: 114.1 kB / 415.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2192, allocations: 0 / 415.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of Templates: time 0.007442/0.2267, allocations: 7.372 MB / 423.2 MB, free: 13.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.983738999813795]