Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001277/0.001277, allocations: 107 kB / 19.8 MB, free: 2.5 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.001483/0.001483, allocations: 215.7 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.2 MB / 256.2 MB, free: 8.566 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.89 kB / 376.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.223, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002561/0.2255, allocations: 1.398 MB / 431.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.364/0.5895, allocations: 152.4 MB / 0.5699 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.5896, allocations: 0 / 0.5699 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.496e-05/0.5896, allocations: 5.859 kB / 0.5699 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.5906, allocations: 388.2 kB / 0.5703 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.5916, allocations: 0.5089 MB / 0.5708 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.5917, allocations: 70.84 kB / 0.5708 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.5917, allocations: 6.469 kB / 0.5708 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.5918, allocations: 32.94 kB / 0.5709 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.5919, allocations: 42.73 kB / 0.5709 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5919, allocations: 2.375 kB / 0.5709 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.5933, allocations: 1.132 MB / 0.572 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.5934, allocations: 15.58 kB / 0.572 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.5934, allocations: 33.3 kB / 0.5721 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008117/0.5942, allocations: 0.6933 MB / 0.5727 GB, free: 12.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5942, allocations: 0 / 0.5727 GB, free: 12.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5942, allocations: 0.75 kB / 0.5727 GB, free: 12.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.5942, allocations: 0 / 0.5727 GB, free: 12.73 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.0005988/0.5948, allocations: 464.7 kB / 0.5732 GB, free: 12.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.5948, allocations: 7.594 kB / 0.5732 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.5953, allocations: 75.55 kB / 0.5733 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.5954, allocations: 197.1 kB / 0.5734 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5955, allocations: 6.156 kB / 0.5735 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.5955, allocations: 0 / 0.5735 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.5956, allocations: 83.28 kB / 0.5735 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5956, allocations: 1.812 kB / 0.5735 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.5956, allocations: 0 / 0.5735 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5956, allocations: 5.688 kB / 0.5735 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.5957, allocations: 43.2 kB / 0.5736 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.5959, allocations: 191 kB / 0.5738 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.5962, allocations: 115.7 kB / 0.5739 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.5963, allocations: 35.8 kB / 0.5739 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.5968, allocations: 136.3 kB / 0.574 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5968, allocations: 40.97 kB / 0.5741 GB, free: 11.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5968, allocations: 0 / 0.5741 GB, free: 11.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003282/0.5972, allocations: 112.9 kB / 0.5742 GB, free: 11.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.5972, allocations: 87.55 kB / 0.5743 GB, free: 11.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.5973, allocations: 140.2 kB / 0.5744 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5973, allocations: 25.7 kB / 0.5744 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.5974, allocations: 88.45 kB / 0.5745 GB, free: 11.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.5974, allocations: 28.38 kB / 0.5745 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.5975, allocations: 18.41 kB / 0.5746 GB, free: 11.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5976, allocations: 321.2 kB / 0.5749 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.5977, allocations: 23.05 kB / 0.5749 GB, free: 10.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.5977, allocations: 48.36 kB / 0.5749 GB, free: 10.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.5979, allocations: 89.92 kB / 0.575 GB, free: 10.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5979, allocations: 3.938 kB / 0.575 GB, free: 10.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002296/0.5981, allocations: 107.6 kB / 0.5751 GB, free: 10.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.5981, allocations: 5.406 kB / 0.5751 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5981, allocations: 0 / 0.5751 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5981, allocations: 4.953 kB / 0.5751 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.5982, allocations: 19.22 kB / 0.5751 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.5982, allocations: 4 kB / 0.5752 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.5983, allocations: 6.828 kB / 0.5752 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.5983, allocations: 6.438 kB / 0.5752 GB, free: 10.8 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.099e-05/0.5984, allocations: 117.4 kB / 0.5753 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.5984, allocations: 6.203 kB / 0.5753 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.5987, allocations: 118.7 kB / 0.5754 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5987, allocations: 2.844 kB / 0.5754 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5987, allocations: 4 kB / 0.5754 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5987, allocations: 0 / 0.5754 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5988, allocations: 187.5 kB / 0.5756 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5988, allocations: 0.8125 kB / 0.5756 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.5989, allocations: 12.94 kB / 0.5756 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5989, allocations: 1.906 kB / 0.5756 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5989, allocations: 6.328 kB / 0.5756 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5989, allocations: 3.281 kB / 0.5756 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5989, allocations: 5.094 kB / 0.5756 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.5992, allocations: 165.1 kB / 0.5758 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.5993, allocations: 88.09 kB / 0.5759 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5993, allocations: 3.625 kB / 0.5759 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.5994, allocations: 5.25 kB / 0.5759 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.5994, allocations: 4.453 kB / 0.5759 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.5994, allocations: 2.25 kB / 0.5759 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.182e-05/0.5995, allocations: 118.3 kB / 0.576 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5995, allocations: 0 / 0.576 GB, free: 10.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.5999, allocations: 165.8 kB / 0.5761 GB, free: 10.14 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.0008896/0.6008, allocations: 430.2 kB / 0.5765 GB, free: 9.988 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.601, allocations: 62.89 kB / 0.5766 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.601, allocations: 0 / 0.5766 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.6011, allocations: 37.12 kB / 0.5766 GB, free: 9.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.6013, allocations: 22.59 kB / 0.5767 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.6018, allocations: 324.9 kB / 0.577 GB, free: 9.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.6021, allocations: 0.6856 MB / 0.5776 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.6022, allocations: 24.89 kB / 0.5777 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.6022, allocations: 16.78 kB / 0.5777 GB, free: 9.016 MB / 462.1 MB Notification: Performance of SimCode: time 4e-07/0.6022, allocations: 0 / 0.5777 GB, free: 9.016 MB / 462.1 MB Notification: Performance of Templates: time 0.00815/0.6103, allocations: 4.756 MB / 0.5823 GB, free: 7.359 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.731376719661057]