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.001955/0.001955, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001979/0.001979, allocations: 165.3 kB / 24.28 MB, free: 156 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 1.609/1.609, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.323e-06/1.323e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.613e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002676/0.002702, allocations: 1.395 MB / 273.7 MB, free: 456 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.3044/0.3071, allocations: 144.3 MB / 418 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.3071, allocations: 0 / 418 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.3071, allocations: 3.984 kB / 418 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.3082, allocations: 246.6 kB / 418.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.3096, allocations: 422.6 kB / 418.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3097, allocations: 59.66 kB / 418.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.871e-05/0.3097, allocations: 0 / 418.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.3098, allocations: 31.91 kB / 418.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.878e-05/0.3099, allocations: 27.91 kB / 418.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3099, allocations: 4 kB / 418.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.3111, allocations: 0.565 MB / 419.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.3111, allocations: 11.98 kB / 419.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.3112, allocations: 15.92 kB / 419.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3122, allocations: 0.5377 MB / 419.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3122, allocations: 0 / 419.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3122, allocations: 0 / 419.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3122, allocations: 0 / 419.9 MB, free: 13.98 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.0006866/0.3129, allocations: 467.8 kB / 420.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3129, allocations: 8.031 kB / 420.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3143, allocations: 109.7 kB / 420.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.3147, allocations: 216.4 kB / 420.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3147, allocations: 4.562 kB / 420.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.3147, allocations: 3.938 kB / 420.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.3149, allocations: 101 kB / 420.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.315, allocations: 0 / 420.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.315, allocations: 0 / 420.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.315, allocations: 0 / 420.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.3152, allocations: 51.89 kB / 420.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.3154, allocations: 152.9 kB / 421 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.316, allocations: 146 kB / 421.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3161, allocations: 51.41 kB / 421.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.3164, allocations: 88.58 kB / 421.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3164, allocations: 41.33 kB / 421.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3164, allocations: 0 / 421.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005184/0.3169, allocations: 141.5 kB / 421.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.317, allocations: 77.11 kB / 421.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3173, allocations: 225.9 kB / 421.7 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3173, allocations: 25.7 kB / 421.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.3174, allocations: 134.9 kB / 421.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3174, allocations: 23.78 kB / 421.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.3175, allocations: 43.34 kB / 422 MB, free: 11.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.3178, allocations: 496.1 kB / 422.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3179, allocations: 27.97 kB / 422.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.318, allocations: 66.67 kB / 422.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.3183, allocations: 99.02 kB / 422.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3183, allocations: 0 / 422.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003678/0.3186, allocations: 133.4 kB / 422.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3186, allocations: 8 kB / 422.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3186, allocations: 4.062 kB / 422.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3187, allocations: 0 / 422.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3188, allocations: 31.91 kB / 422.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3188, allocations: 0 / 422.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.319, allocations: 11.92 kB / 422.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.319, allocations: 4.625 kB / 422.8 MB, free: 10.79 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 0.0001296/0.3191, allocations: 160.6 kB / 423 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.3192, allocations: 15.88 kB / 423 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.3197, allocations: 187.3 kB / 423.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3197, allocations: 4 kB / 423.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3198, allocations: 7.359 kB / 423.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3198, allocations: 0 / 423.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.32, allocations: 150 kB / 423.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.32, allocations: 0 / 423.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.3201, allocations: 23.91 kB / 423.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3202, allocations: 0 / 423.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3202, allocations: 7.938 kB / 423.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3202, allocations: 0 / 423.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3202, allocations: 0 / 423.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.3206, allocations: 195.5 kB / 423.6 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3207, allocations: 48.5 kB / 423.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.3208, allocations: 3.938 kB / 423.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.321, allocations: 7.984 kB / 423.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.321, allocations: 11.98 kB / 423.6 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.321, allocations: 0 / 423.6 MB, free: 9.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.3212, allocations: 191.1 kB / 423.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3212, allocations: 0 / 423.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005054/0.3218, allocations: 131.6 kB / 423.9 MB, free: 9.594 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.0007302/0.3225, allocations: 334.8 kB / 424.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.3228, allocations: 83.56 kB / 424.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3228, allocations: 0 / 424.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3229, allocations: 47.61 kB / 424.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.3232, allocations: 34.47 kB / 424.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.3238, allocations: 266.2 kB / 424.7 MB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.01e-05/0.3239, allocations: 71.59 kB / 424.8 MB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006506/0.3245, allocations: 432.4 kB / 425.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3246, allocations: 40.45 kB / 425.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3246, allocations: 0 / 425.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of Templates: time 0.0123/0.337, allocations: 5.652 MB / 430.9 MB, free: 2.641 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.997810729895718]