Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.002545/0.002545, 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.002312/0.002312, allocations: 169.3 kB / 24.28 MB, free: 152 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.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.613 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.856e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002829/0.002858, allocations: 1.399 MB / 273.7 MB, free: 456 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.3008/0.3037, allocations: 144.6 MB / 418.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.3037, allocations: 0 / 418.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.3038, allocations: 3.844 kB / 418.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3052, allocations: 375.5 kB / 418.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.3067, allocations: 0.5407 MB / 419.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3068, allocations: 71.64 kB / 419.3 MB, free: 15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.3069, allocations: 4 kB / 419.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.307, allocations: 43.83 kB / 419.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3071, allocations: 35.89 kB / 419.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3071, allocations: 0 / 419.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.3092, allocations: 0.9502 MB / 420.4 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.3092, allocations: 15.92 kB / 420.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.3093, allocations: 19.98 kB / 420.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.3109, allocations: 0.7558 MB / 421.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3109, allocations: 4 kB / 421.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3109, allocations: 0 / 421.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3109, allocations: 0 / 421.1 MB, free: 13.16 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.0009264/0.3118, allocations: 483.7 kB / 421.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3118, allocations: 8.031 kB / 421.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.3124, allocations: 84.73 kB / 421.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3126, allocations: 132.4 kB / 421.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3126, allocations: 4.375 kB / 421.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.3127, allocations: 4.562 kB / 421.8 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3129, allocations: 64.98 kB / 421.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3129, allocations: 0 / 421.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3129, allocations: 4 kB / 421.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3129, allocations: 0 / 421.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.313, allocations: 19.92 kB / 421.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.3132, allocations: 140.4 kB / 422.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.3135, allocations: 98.08 kB / 422.2 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.3136, allocations: 35.36 kB / 422.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/0.314, allocations: 47.95 kB / 422.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3141, allocations: 41.38 kB / 422.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3141, allocations: 0 / 422.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003767/0.3145, allocations: 89.5 kB / 422.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3145, allocations: 81.11 kB / 422.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3147, allocations: 187.2 kB / 422.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3147, allocations: 25.7 kB / 422.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.3148, allocations: 134.9 kB / 422.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.3149, allocations: 27.78 kB / 422.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.3149, allocations: 23.38 kB / 422.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.3152, allocations: 0.4923 MB / 423.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.3152, allocations: 8 kB / 423.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.839e-05/0.3153, allocations: 50.73 kB / 423.4 MB, free: 10.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.3155, allocations: 70.67 kB / 423.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3155, allocations: 0 / 423.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004661/0.316, allocations: 97.81 kB / 423.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.316, allocations: 7.938 kB / 423.6 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.316, allocations: 0 / 423.6 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.316, allocations: 8.078 kB / 423.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.3161, allocations: 15.98 kB / 423.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3161, allocations: 0 / 423.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.3161, allocations: 7.953 kB / 423.6 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3161, allocations: 4.75 kB / 423.6 MB, free: 10.44 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.0001243/0.3163, allocations: 168.5 kB / 423.8 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.3163, allocations: 15.89 kB / 423.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.3166, allocations: 87.94 kB / 423.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3166, allocations: 4 kB / 423.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3166, allocations: 0 / 423.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3166, allocations: 0 / 423.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3167, allocations: 133.4 kB / 424 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3167, allocations: 0 / 424 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.3168, allocations: 19.92 kB / 424 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3168, allocations: 4 kB / 424 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3168, allocations: 0 / 424 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3168, allocations: 7.188 kB / 424 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3168, allocations: 4 kB / 424 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.3172, allocations: 131.9 kB / 424.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.3172, allocations: 15.94 kB / 424.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3172, allocations: 4 kB / 424.2 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.387e-05/0.3173, allocations: 3.938 kB / 424.2 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3173, allocations: 7.984 kB / 424.2 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3173, allocations: 0 / 424.2 MB, free: 9.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3174, allocations: 148.3 kB / 424.3 MB, free: 9.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3174, allocations: 4.031 kB / 424.3 MB, free: 9.621 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005813/0.318, allocations: 167.4 kB / 424.5 MB, free: 9.457 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001019/0.319, allocations: 435.2 kB / 424.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3192, allocations: 47.59 kB / 425 MB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3192, allocations: 0 / 425 MB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.3193, allocations: 31.61 kB / 425 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3196, allocations: 32.09 kB / 425 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.3201, allocations: 251.3 kB / 425.3 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.008e-05/0.3202, allocations: 72.33 kB / 425.4 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.3203, allocations: 15.5 kB / 425.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.3203, allocations: 16.5 kB / 425.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3203, allocations: 0 / 425.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of Templates: time 0.0111/0.3314, allocations: 5.011 MB / 430.4 MB, free: 3.562 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.996929596993141]