Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.005994/0.005994, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001506/0.001506, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 259 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 63.89 kB / 379.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2801, allocations: 53.36 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002653/0.2828, allocations: 1.393 MB / 434.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4265/0.7093, allocations: 152.4 MB / 0.5732 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.7093, allocations: 0 / 0.5732 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 6.036e-05/0.7094, allocations: 9.078 kB / 0.5732 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.7107, allocations: 390.4 kB / 0.5736 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.7119, allocations: 0.5166 MB / 0.5741 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.7121, allocations: 78.39 kB / 0.5742 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.7121, allocations: 6.688 kB / 0.5742 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.7122, allocations: 30.92 kB / 0.5742 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.7123, allocations: 36.42 kB / 0.5742 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.7123, allocations: 1.781 kB / 0.5742 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.7142, allocations: 1.16 MB / 0.5754 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.7142, allocations: 15.61 kB / 0.5754 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.7142, allocations: 28.08 kB / 0.5754 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.7152, allocations: 0.6999 MB / 0.5761 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7152, allocations: 0 / 0.5761 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7152, allocations: 0 / 0.5761 GB, free: 12.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.7152, allocations: 0 / 0.5761 GB, free: 12.68 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.0006744/0.7159, allocations: 385.7 kB / 0.5765 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7159, allocations: 10.09 kB / 0.5765 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.7164, allocations: 76.8 kB / 0.5765 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.7166, allocations: 139.6 kB / 0.5767 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.7166, allocations: 7.766 kB / 0.5767 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.7166, allocations: 8.906 kB / 0.5767 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.7168, allocations: 68.02 kB / 0.5768 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7168, allocations: 3.938 kB / 0.5768 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.7168, allocations: 3.625 kB / 0.5768 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.7168, allocations: 3.688 kB / 0.5768 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.7169, allocations: 39.03 kB / 0.5768 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.7171, allocations: 164.3 kB / 0.577 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.7174, allocations: 114.3 kB / 0.5771 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.7175, allocations: 37.5 kB / 0.5771 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000488/0.718, allocations: 60 kB / 0.5772 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.718, allocations: 40.44 kB / 0.5772 GB, free: 11.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.718, allocations: 0 / 0.5772 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003791/0.7184, allocations: 119.8 kB / 0.5773 GB, free: 11.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.7184, allocations: 77.11 kB / 0.5774 GB, free: 11.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.7186, allocations: 145.5 kB / 0.5775 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.7186, allocations: 25.7 kB / 0.5775 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.7186, allocations: 85.83 kB / 0.5776 GB, free: 11.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.7187, allocations: 24.16 kB / 0.5777 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.7187, allocations: 33.97 kB / 0.5777 GB, free: 11.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.7189, allocations: 319.3 kB / 0.578 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.7189, allocations: 22.12 kB / 0.578 GB, free: 11.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.719, allocations: 51.17 kB / 0.5781 GB, free: 11.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.7192, allocations: 88.2 kB / 0.5781 GB, free: 11.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7192, allocations: 3.938 kB / 0.5781 GB, free: 11.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.7194, allocations: 105.7 kB / 0.5783 GB, free: 11.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7194, allocations: 7.328 kB / 0.5783 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.7194, allocations: 1.062 kB / 0.5783 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7194, allocations: 2.219 kB / 0.5783 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.7195, allocations: 18.19 kB / 0.5783 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.7195, allocations: 7.938 kB / 0.5783 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.7196, allocations: 9.281 kB / 0.5783 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.7196, allocations: 2.344 kB / 0.5783 GB, free: 11.05 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.494e-05/0.7197, allocations: 118.9 kB / 0.5784 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.7197, allocations: 3.156 kB / 0.5784 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.7199, allocations: 114.2 kB / 0.5785 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.72, allocations: 4.031 kB / 0.5785 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.72, allocations: 7.875 kB / 0.5785 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.72, allocations: 0 / 0.5785 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.7201, allocations: 154.8 kB / 0.5787 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7201, allocations: 2.688 kB / 0.5787 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.7202, allocations: 12.64 kB / 0.5787 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7202, allocations: 0 / 0.5787 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.7202, allocations: 8.891 kB / 0.5787 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7202, allocations: 2.781 kB / 0.5787 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7202, allocations: 0 / 0.5787 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.7206, allocations: 168.3 kB / 0.5789 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.7206, allocations: 11.47 kB / 0.5789 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.7206, allocations: 2.281 kB / 0.5789 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.7207, allocations: 2.578 kB / 0.5789 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.7207, allocations: 11.33 kB / 0.5789 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.7207, allocations: 0 / 0.5789 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.346e-05/0.7208, allocations: 116.4 kB / 0.579 GB, free: 10.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7208, allocations: 0 / 0.579 GB, free: 10.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006123/0.7214, allocations: 169 kB / 0.5792 GB, free: 10.51 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 (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.0008795/0.7223, allocations: 407.8 kB / 0.5796 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.7225, allocations: 64.86 kB / 0.5796 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7225, allocations: 2.562 kB / 0.5796 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.7226, allocations: 29.28 kB / 0.5796 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.7228, allocations: 38.41 kB / 0.5797 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.7234, allocations: 345.1 kB / 0.58 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.7238, allocations: 0.6929 MB / 0.5807 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.7238, allocations: 18.83 kB / 0.5807 GB, free: 9.375 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7238, allocations: 0 / 0.5807 GB, free: 9.375 MB / 462.1 MB Notification: Performance of Templates: time 0.00687/0.7307, allocations: 4.056 MB / 0.5847 GB, free: 8.051 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.518497158074751]