Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001429/0.001429, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 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.001982/0.001982, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 55.91 kB / 348.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.308, allocations: 49.17 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002478/0.3105, allocations: 1.349 MB / 399 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2003/0.5108, allocations: 150.9 MB / 0.5369 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.5109, allocations: 0 / 0.5369 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.5109, allocations: 4 kB / 0.5369 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.5122, allocations: 246.8 kB / 0.5372 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.5146, allocations: 0.6377 MB / 0.5378 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.5148, allocations: 67.64 kB / 0.5379 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.5148, allocations: 4 kB / 0.5379 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.5149, allocations: 23.92 kB / 0.5379 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.515, allocations: 31.84 kB / 0.5379 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.515, allocations: 4 kB / 0.5379 GB, free: 9.605 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.5171, allocations: 0.9124 MB / 0.5388 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.5171, allocations: 8 kB / 0.5388 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.5171, allocations: 27.84 kB / 0.5388 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.5187, allocations: 0.6057 MB / 0.5394 GB, free: 8.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5187, allocations: 4 kB / 0.5394 GB, free: 8.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5188, allocations: 3.938 kB / 0.5394 GB, free: 8.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.5188, allocations: 0 / 0.5394 GB, free: 8.043 MB / 462.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.0008408/0.5196, allocations: 377.3 kB / 0.5398 GB, free: 7.645 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5196, allocations: 15.98 kB / 0.5398 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.5208, allocations: 92.75 kB / 0.5399 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.5212, allocations: 170.4 kB / 0.5401 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.5212, allocations: 7.938 kB / 0.5401 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.5212, allocations: 0 / 0.5401 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.5215, allocations: 95.27 kB / 0.5402 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5215, allocations: 0 / 0.5402 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5215, allocations: 0 / 0.5402 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.5216, allocations: 4 kB / 0.5402 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.5217, allocations: 43.95 kB / 0.5402 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.5221, allocations: 189.9 kB / 0.5404 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.5226, allocations: 117.1 kB / 0.5405 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.5227, allocations: 45.75 kB / 0.5405 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.523, allocations: 88.56 kB / 0.5406 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.523, allocations: 38.56 kB / 0.5407 GB, free: 6.641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.523, allocations: 0 / 0.5407 GB, free: 6.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004911/0.5235, allocations: 125.9 kB / 0.5408 GB, free: 6.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.5236, allocations: 85.05 kB / 0.5409 GB, free: 6.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.5238, allocations: 161.8 kB / 0.541 GB, free: 6.242 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.5238, allocations: 29.7 kB / 0.541 GB, free: 6.207 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.5239, allocations: 80.14 kB / 0.5411 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.5239, allocations: 31.73 kB / 0.5412 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.524, allocations: 29.7 kB / 0.5412 GB, free: 6.059 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5241, allocations: 318.8 kB / 0.5415 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.5242, allocations: 19.98 kB / 0.5415 GB, free: 5.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.5243, allocations: 55.41 kB / 0.5416 GB, free: 5.652 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.5246, allocations: 91.3 kB / 0.5416 GB, free: 5.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5246, allocations: 0 / 0.5416 GB, free: 5.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003514/0.5249, allocations: 121.6 kB / 0.5418 GB, free: 5.426 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5249, allocations: 4 kB / 0.5418 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5249, allocations: 3.984 kB / 0.5418 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.525, allocations: 4 kB / 0.5418 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5251, allocations: 27.91 kB / 0.5418 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5251, allocations: 4 kB / 0.5418 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5253, allocations: 7.953 kB / 0.5418 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.5253, allocations: 7.984 kB / 0.5418 GB, free: 5.367 MB / 462.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 0.0001075/0.5254, allocations: 121.8 kB / 0.5419 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.5255, allocations: 3.938 kB / 0.5419 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.5261, allocations: 249.3 kB / 0.5422 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5261, allocations: 11.94 kB / 0.5422 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5261, allocations: 0 / 0.5422 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5261, allocations: 0 / 0.5422 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.5264, allocations: 197.9 kB / 0.5424 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.5264, allocations: 3.984 kB / 0.5424 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.5265, allocations: 19.97 kB / 0.5424 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5266, allocations: 4 kB / 0.5424 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.5266, allocations: 0 / 0.5424 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5266, allocations: 0 / 0.5424 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5266, allocations: 0 / 0.5424 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.527, allocations: 189.7 kB / 0.5426 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.5271, allocations: 12.02 kB / 0.5426 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.5271, allocations: 4.062 kB / 0.5426 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.5273, allocations: 11.98 kB / 0.5426 GB, free: 4.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.5273, allocations: 7.984 kB / 0.5426 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.5274, allocations: 8.062 kB / 0.5426 GB, free: 4.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.5275, allocations: 127.2 kB / 0.5427 GB, free: 4.332 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5275, allocations: 0 / 0.5427 GB, free: 4.332 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.5282, allocations: 179.5 kB / 0.5429 GB, free: 4.156 MB / 462.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 (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.001072/0.5293, allocations: 386.3 kB / 0.5433 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.5296, allocations: 75.88 kB / 0.5434 GB, free: 3.695 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5296, allocations: 0 / 0.5434 GB, free: 3.695 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.5297, allocations: 35.97 kB / 0.5434 GB, free: 3.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5299, allocations: 15.92 kB / 0.5434 GB, free: 3.645 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.5306, allocations: 345 kB / 0.5437 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.531, allocations: 0.6846 MB / 0.5444 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.5311, allocations: 51.31 kB / 0.5445 GB, free: 2.512 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5311, allocations: 0 / 0.5445 GB, free: 2.512 MB / 462.1 MB Notification: Performance of Templates: time 0.00944/0.5406, allocations: 4.685 MB / 0.549 GB, free: 13.82 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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: 8.110635668970644]