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.001274/0.001274, allocations: 112.2 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.001336/0.001336, allocations: 207 kB / 24.48 MB, free: 4.035 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.468/1.468, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001991/0.001991, allocations: 71.81 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2204, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002431/0.2228, allocations: 1.388 MB / 433.4 MB, free: 6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3641/0.5869, allocations: 152.4 MB / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.587, allocations: 3.938 kB / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.587, allocations: 2.438 kB / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.588, allocations: 386.3 kB / 0.5725 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.589, allocations: 0.5036 MB / 0.573 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.5891, allocations: 77.61 kB / 0.573 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.5892, allocations: 6.344 kB / 0.573 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.5892, allocations: 31.39 kB / 0.5731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.5893, allocations: 43.03 kB / 0.5731 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.5893, allocations: 2.406 kB / 0.5731 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.5908, allocations: 1.133 MB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.5908, allocations: 11.97 kB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.5909, allocations: 32.38 kB / 0.5743 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008152/0.5917, allocations: 0.6984 MB / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5917, allocations: 0 / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5917, allocations: 0 / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.5917, 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.0006436/0.5923, allocations: 465.7 kB / 0.5754 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.5924, allocations: 9.531 kB / 0.5754 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004566/0.5928, allocations: 65.44 kB / 0.5755 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.593, allocations: 204.2 kB / 0.5757 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.593, allocations: 3.938 kB / 0.5757 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.593, allocations: 4.781 kB / 0.5757 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5932, allocations: 75.31 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.5932, allocations: 0 / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.5932, allocations: 2.094 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5932, allocations: 4 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.5933, allocations: 43.22 kB / 0.5758 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.5935, allocations: 185.9 kB / 0.576 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.5938, allocations: 120.1 kB / 0.5761 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.5939, allocations: 36.64 kB / 0.5761 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.5944, allocations: 137.7 kB / 0.5762 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.5944, allocations: 40.62 kB / 0.5763 GB, free: 11.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5944, allocations: 0 / 0.5763 GB, free: 11.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003241/0.5947, allocations: 115.5 kB / 0.5764 GB, free: 11.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.5948, allocations: 87.08 kB / 0.5765 GB, free: 11.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.5949, allocations: 140.4 kB / 0.5766 GB, free: 11.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.5949, allocations: 26.8 kB / 0.5766 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.5949, allocations: 90.2 kB / 0.5767 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.595, allocations: 25.91 kB / 0.5767 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.595, allocations: 18.25 kB / 0.5768 GB, free: 11.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5952, allocations: 318.9 kB / 0.5771 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.5952, allocations: 25.59 kB / 0.5771 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.5953, allocations: 57.58 kB / 0.5771 GB, free: 10.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.5954, allocations: 78.97 kB / 0.5772 GB, free: 10.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5954, allocations: 0 / 0.5772 GB, free: 10.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002353/0.5957, allocations: 114.5 kB / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.5957, allocations: 6 kB / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5957, allocations: 2.625 kB / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5957, allocations: 4.062 kB / 0.5773 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.5958, allocations: 18.86 kB / 0.5774 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5958, allocations: 3.281 kB / 0.5774 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.5958, allocations: 7.094 kB / 0.5774 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.5958, allocations: 8.188 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 8.371e-05/0.5959, allocations: 115 kB / 0.5775 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.596, allocations: 4.594 kB / 0.5775 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.5962, allocations: 125.4 kB / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5962, allocations: 6.391 kB / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5962, allocations: 0 / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.5963, allocations: 82.27 kB / 0.5777 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.5963, allocations: 3.562 kB / 0.5777 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.5964, allocations: 4.125 kB / 0.5777 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.5964, allocations: 12.98 kB / 0.5777 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004122/0.5968, allocations: 265.1 kB / 0.578 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004118/0.5972, allocations: 381.6 kB / 0.5783 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.722e-05/0.5973, allocations: 25.95 kB / 0.5784 GB, free: 10.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.5974, allocations: 116.4 kB / 0.5785 GB, free: 10.01 MB / 462.1 MB Notification: Performance of Backend: time 2.91e-07/0.5974, allocations: 4.062 kB / 0.5785 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.5987, allocations: 465.5 kB / 0.5789 GB, free: 9.863 MB / 462.1 MB Notification: Performance of SimCode: time 0.0007805/0.5995, allocations: 0.7559 MB / 0.5797 GB, free: 9.168 MB / 462.1 MB Notification: Performance of Templates: time 0.008889/0.6084, allocations: 5.108 MB / 0.5846 GB, free: 7.359 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: 4.7260098229162395]