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.001296/0.001296, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001366/0.001366, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.382/1.382, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001866/0.001866, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2251, allocations: 53.32 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002438/0.2275, allocations: 1.393 MB / 433.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3789/0.6064, allocations: 152.4 MB / 0.5721 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.6064, allocations: 3.938 kB / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.6065, allocations: 6.062 kB / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.6076, allocations: 383.5 kB / 0.5725 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.6087, allocations: 0.5046 MB / 0.573 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.6088, allocations: 81.5 kB / 0.573 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.6088, allocations: 6.25 kB / 0.573 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.6089, allocations: 32.92 kB / 0.5731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.6089, allocations: 39.25 kB / 0.5731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.609, allocations: 3.062 kB / 0.5731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.6106, allocations: 1.129 MB / 0.5742 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.6107, allocations: 18.45 kB / 0.5742 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.6107, allocations: 25.95 kB / 0.5743 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.6117, allocations: 0.6954 MB / 0.5749 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6117, allocations: 6.719 kB / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.6117, allocations: 0 / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.6117, allocations: 0 / 0.5749 GB, free: 12.76 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.0007059/0.6124, allocations: 461.5 kB / 0.5754 GB, free: 12.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.6125, allocations: 10.56 kB / 0.5754 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.6129, allocations: 76.81 kB / 0.5755 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.6131, allocations: 194.2 kB / 0.5756 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.6131, allocations: 10.19 kB / 0.5757 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.6131, allocations: 3.781 kB / 0.5757 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.6133, allocations: 80.09 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6133, allocations: 0 / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6133, allocations: 1.188 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.6133, allocations: 1.844 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.401e-05/0.6134, allocations: 40.31 kB / 0.5758 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.6136, allocations: 190.9 kB / 0.576 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.6139, allocations: 119.2 kB / 0.5761 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.614, allocations: 34.59 kB / 0.5761 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.6145, allocations: 134.9 kB / 0.5762 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.6146, allocations: 40.27 kB / 0.5763 GB, free: 11.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.6146, allocations: 0 / 0.5763 GB, free: 11.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.00036/0.6149, allocations: 113.2 kB / 0.5764 GB, free: 11.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.615, allocations: 87.33 kB / 0.5765 GB, free: 11.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.6152, allocations: 140 kB / 0.5766 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.6152, allocations: 29.64 kB / 0.5766 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.6152, allocations: 92.52 kB / 0.5767 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.6153, allocations: 26.39 kB / 0.5767 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.6153, allocations: 18.41 kB / 0.5768 GB, free: 11.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6155, allocations: 319 kB / 0.5771 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.6156, allocations: 26.08 kB / 0.5771 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.6156, allocations: 50.11 kB / 0.5771 GB, free: 10.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.6158, allocations: 85.14 kB / 0.5772 GB, free: 10.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6158, allocations: 3.938 kB / 0.5772 GB, free: 10.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002513/0.616, allocations: 112.8 kB / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.616, allocations: 5.344 kB / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.616, allocations: 3.609 kB / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6161, allocations: 0 / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.6161, allocations: 26.05 kB / 0.5774 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6161, allocations: 0 / 0.5774 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.6162, allocations: 6.766 kB / 0.5774 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.6162, allocations: 2.75 kB / 0.5774 GB, free: 10.83 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 9.583e-05/0.6163, allocations: 124.8 kB / 0.5775 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.6163, allocations: 5.062 kB / 0.5775 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.6166, allocations: 112.8 kB / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6166, allocations: 0 / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6166, allocations: 5.125 kB / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6166, allocations: 1.094 kB / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.6168, allocations: 184.8 kB / 0.5778 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6168, allocations: 0 / 0.5778 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.6169, allocations: 20.48 kB / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6169, allocations: 5.906 kB / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.6169, allocations: 0 / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6169, allocations: 5.016 kB / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6169, allocations: 0 / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.6172, allocations: 158.6 kB / 0.578 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.6173, allocations: 91.41 kB / 0.5781 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.6173, allocations: 5.156 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.6173, allocations: 2.688 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.6173, allocations: 8.125 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.6174, allocations: 4.312 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.177e-05/0.6174, allocations: 109.8 kB / 0.5782 GB, free: 10.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6174, allocations: 0 / 0.5782 GB, free: 10.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.6179, allocations: 162.7 kB / 0.5783 GB, free: 10.18 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.0009376/0.6189, allocations: 444.2 kB / 0.5788 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.6191, allocations: 62.05 kB / 0.5788 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6191, allocations: 0 / 0.5788 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.6191, allocations: 31.05 kB / 0.5788 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.6194, allocations: 22.58 kB / 0.5789 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.6199, allocations: 350.1 kB / 0.5792 GB, free: 9.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.6202, allocations: 0.6897 MB / 0.5799 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.6203, allocations: 18.72 kB / 0.5799 GB, free: 9.027 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6203, allocations: 0 / 0.5799 GB, free: 9.027 MB / 462.1 MB Notification: Performance of Templates: time 0.006204/0.6265, allocations: 4.066 MB / 0.5839 GB, free: 7.75 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_2/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_2/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.024089158978313]