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.001375/0.001375, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.001366/0.001366, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.451/1.451, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001581/0.001581, allocations: 47.92 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.23, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002431/0.2324, allocations: 1.343 MB / 424.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3744/0.6067, allocations: 127.8 MB / 0.5392 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.6068, allocations: 1.625 kB / 0.5392 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.6068, allocations: 4.359 kB / 0.5392 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008607/0.6077, allocations: 233.3 kB / 0.5394 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008932/0.6086, allocations: 412.5 kB / 0.5398 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.6086, allocations: 59.53 kB / 0.5399 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.6087, allocations: 3.922 kB / 0.5399 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.6087, allocations: 26.03 kB / 0.5399 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.6088, allocations: 28.88 kB / 0.5399 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.6088, allocations: 3.719 kB / 0.5399 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000909/0.6097, allocations: 0.5558 MB / 0.5405 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.6097, allocations: 10.69 kB / 0.5405 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.6098, allocations: 22.22 kB / 0.5405 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.6105, allocations: 473.3 kB / 0.541 GB, free: 1.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6105, allocations: 6.328 kB / 0.541 GB, free: 1.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6105, allocations: 2.062 kB / 0.541 GB, free: 1.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.6105, allocations: 0 / 0.541 GB, free: 1.391 MB / 446.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.0005502/0.6111, allocations: 356.3 kB / 0.5413 GB, free: 17.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.6111, allocations: 10.31 kB / 0.5413 GB, free: 17.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.6121, allocations: 98.3 kB / 0.5414 GB, free: 17.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.6123, allocations: 160.5 kB / 0.5416 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6124, allocations: 2.625 kB / 0.5416 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.6124, allocations: 5.906 kB / 0.5416 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.6126, allocations: 97.36 kB / 0.5417 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.6126, allocations: 1.438 kB / 0.5417 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.6126, allocations: 0.875 kB / 0.5417 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.6126, allocations: 1.406 kB / 0.5417 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.6128, allocations: 49.23 kB / 0.5417 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.6129, allocations: 142 kB / 0.5419 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.6134, allocations: 125.2 kB / 0.542 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.6135, allocations: 40.02 kB / 0.542 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.6137, allocations: 93.47 kB / 0.5421 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6137, allocations: 35.92 kB / 0.5421 GB, free: 16.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.6137, allocations: 0 / 0.5421 GB, free: 16.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004355/0.6141, allocations: 131.6 kB / 0.5423 GB, free: 16.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.6142, allocations: 82.28 kB / 0.5424 GB, free: 16.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.6144, allocations: 155.8 kB / 0.5425 GB, free: 16.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.6144, allocations: 29.17 kB / 0.5425 GB, free: 16.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.6145, allocations: 87.83 kB / 0.5426 GB, free: 16.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.6145, allocations: 21.23 kB / 0.5426 GB, free: 16.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.6145, allocations: 34.03 kB / 0.5427 GB, free: 16.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6147, allocations: 318.5 kB / 0.543 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.6148, allocations: 30.56 kB / 0.543 GB, free: 15.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.6149, allocations: 50.89 kB / 0.543 GB, free: 15.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.6151, allocations: 83.22 kB / 0.5431 GB, free: 15.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6151, allocations: 5.25 kB / 0.5431 GB, free: 15.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003153/0.6154, allocations: 124.6 kB / 0.5432 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.6155, allocations: 7.312 kB / 0.5433 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6155, allocations: 2.281 kB / 0.5433 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6155, allocations: 2.188 kB / 0.5433 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.6156, allocations: 23.45 kB / 0.5433 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6156, allocations: 1.469 kB / 0.5433 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.6158, allocations: 11.5 kB / 0.5433 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.6158, allocations: 11.78 kB / 0.5433 GB, free: 15.87 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 8.876e-05/0.6159, allocations: 128.7 kB / 0.5434 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.6159, allocations: 3.5 kB / 0.5434 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.6164, allocations: 257.1 kB / 0.5437 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6164, allocations: 1.203 kB / 0.5437 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6164, allocations: 4.219 kB / 0.5437 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.6164, allocations: 3.094 kB / 0.5437 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.6166, allocations: 154.9 kB / 0.5438 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6166, allocations: 6.297 kB / 0.5438 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.6167, allocations: 25.27 kB / 0.5439 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6167, allocations: 3.25 kB / 0.5439 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.6168, allocations: 3.672 kB / 0.5439 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6168, allocations: 0 / 0.5439 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6168, allocations: 2.625 kB / 0.5439 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.6171, allocations: 182 kB / 0.544 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.6172, allocations: 17.09 kB / 0.5441 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.6172, allocations: 2.188 kB / 0.5441 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.6174, allocations: 7.562 kB / 0.5441 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.6174, allocations: 8.281 kB / 0.5441 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.6174, allocations: 4.438 kB / 0.5441 GB, free: 15.47 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.6176, allocations: 129.9 kB / 0.5442 GB, free: 15.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6176, allocations: 0.8438 kB / 0.5442 GB, free: 15.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.618, allocations: 136.6 kB / 0.5443 GB, free: 15.37 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.0006243/0.6186, allocations: 326.3 kB / 0.5446 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.6189, allocations: 72.44 kB / 0.5447 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6189, allocations: 0.875 kB / 0.5447 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.619, allocations: 46.02 kB / 0.5448 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.6192, allocations: 15.38 kB / 0.5448 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.6197, allocations: 296.1 kB / 0.5451 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.6197, allocations: 72.14 kB / 0.5451 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004227/0.6202, allocations: 432.9 kB / 0.5455 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.6203, allocations: 37.66 kB / 0.5456 GB, free: 14.99 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6203, allocations: 0 / 0.5456 GB, free: 14.99 MB / 462.1 MB Notification: Performance of Templates: time 0.00819/0.6285, allocations: 5.491 MB / 0.5509 GB, free: 14.44 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.865712674334645]