Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001002/0.001002, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001067/0.001067, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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.9945/0.9945, allocations: 177 MB / 205.2 MB, free: 5.527 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.083e-06/1.083e-06, allocations: 0 / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.939e-05, allocations: 2.312 kB / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001593/0.001612, allocations: 1.403 MB / 274.4 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2153/0.2169, allocations: 144.3 MB / 418.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.2169, allocations: 0 / 418.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.217, allocations: 3.938 kB / 418.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007881/0.2177, allocations: 246.2 kB / 418.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.2185, allocations: 419.6 kB / 419.3 MB, free: 15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.2186, allocations: 63.64 kB / 419.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.2186, allocations: 4 kB / 419.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.2187, allocations: 27.92 kB / 419.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.2187, allocations: 31.89 kB / 419.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2187, allocations: 0 / 419.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000761/0.2195, allocations: 0.5651 MB / 420 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.2195, allocations: 15.91 kB / 420 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.2196, allocations: 12 kB / 420.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2202, allocations: 0.5415 MB / 420.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2202, allocations: 4 kB / 420.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2202, allocations: 0 / 420.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.2202, allocations: 0 / 420.6 MB, free: 13.73 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.0007141/0.2209, allocations: 453 kB / 421 MB, free: 13.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2209, allocations: 11.98 kB / 421.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/0.2217, allocations: 113.7 kB / 421.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.222, allocations: 234.8 kB / 421.4 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.222, allocations: 4.562 kB / 421.4 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.222, allocations: 7.938 kB / 421.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2222, allocations: 106.3 kB / 421.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.2222, allocations: 0 / 421.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2222, allocations: 4 kB / 421.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2222, allocations: 0 / 421.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.2223, allocations: 43.94 kB / 421.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.2224, allocations: 148.9 kB / 421.7 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.2227, allocations: 142 kB / 421.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.2228, allocations: 47.41 kB / 421.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.223, allocations: 88.58 kB / 422 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.223, allocations: 41.27 kB / 422 MB, free: 12.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.223, allocations: 0 / 422 MB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002666/0.2232, allocations: 134.5 kB / 422.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2233, allocations: 77.11 kB / 422.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2234, allocations: 225.9 kB / 422.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2234, allocations: 25.7 kB / 422.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.2235, allocations: 135.8 kB / 422.6 MB, free: 11.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.2235, allocations: 27.78 kB / 422.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.2235, allocations: 35.34 kB / 422.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2236, allocations: 0.4884 MB / 423.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.2237, allocations: 19.97 kB / 423.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.2237, allocations: 66.72 kB / 423.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.2238, allocations: 91.02 kB / 423.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2239, allocations: 0 / 423.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001692/0.224, allocations: 126 kB / 423.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.224, allocations: 11.98 kB / 423.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.224, allocations: 0.5625 kB / 423.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2241, allocations: 3.938 kB / 423.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.2241, allocations: 27.97 kB / 423.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2241, allocations: 0 / 423.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.2242, allocations: 7.812 kB / 423.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2242, allocations: 11.98 kB / 423.5 MB, free: 10.56 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.747e-05/0.2243, allocations: 160.5 kB / 423.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.2243, allocations: 15.95 kB / 423.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.2246, allocations: 187.6 kB / 423.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2246, allocations: 4 kB / 423.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2246, allocations: 0 / 423.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2246, allocations: 0 / 423.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2247, allocations: 146 kB / 424 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2247, allocations: 0 / 424 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.2248, allocations: 23.97 kB / 424 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2248, allocations: 4 kB / 424 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2248, allocations: 7.938 kB / 424 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2248, allocations: 0 / 424 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2248, allocations: 0.625 kB / 424 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.225, allocations: 164 kB / 424.2 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.2251, allocations: 47.88 kB / 424.3 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2251, allocations: 3.938 kB / 424.3 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.2252, allocations: 8 kB / 424.3 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.2252, allocations: 3.984 kB / 424.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.2252, allocations: 11.92 kB / 424.3 MB, free: 9.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.2253, allocations: 187.8 kB / 424.5 MB, free: 9.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2253, allocations: 0 / 424.5 MB, free: 9.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.2257, allocations: 131.6 kB / 424.6 MB, free: 9.402 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.0004342/0.2261, allocations: 331.6 kB / 424.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.2262, allocations: 71.58 kB / 425 MB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2262, allocations: 0 / 425 MB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.2263, allocations: 44.28 kB / 425 MB, free: 8.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.2265, allocations: 40.92 kB / 425.1 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.2271, allocations: 265.7 kB / 425.3 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.483e-05/0.2272, allocations: 63.34 kB / 425.4 MB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003519/0.2275, allocations: 430.3 kB / 425.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.2276, allocations: 44.45 kB / 425.9 MB, free: 8.098 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2276, allocations: 0 / 425.9 MB, free: 8.098 MB / 378.7 MB Notification: Performance of Templates: time 0.006918/0.2345, allocations: 5.652 MB / 431.5 MB, free: 2.496 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.109196589095518]