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.002194/0.002194, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002732/0.002732, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 8.012 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+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 0.001641/0.001641, allocations: 47.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2196, allocations: 53.37 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002563/0.2221, allocations: 1.382 MB / 433 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3795/0.6016, allocations: 152.4 MB / 0.5717 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.6017, allocations: 0 / 0.5717 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.6017, allocations: 5.766 kB / 0.5717 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.6029, allocations: 393.7 kB / 0.5721 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.604, allocations: 0.5245 MB / 0.5726 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.6042, allocations: 69.3 kB / 0.5726 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.6042, allocations: 9.297 kB / 0.5727 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.6043, allocations: 36.23 kB / 0.5727 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.6043, allocations: 34.83 kB / 0.5727 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.6043, allocations: 2.469 kB / 0.5727 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.6061, allocations: 1.155 MB / 0.5739 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.6062, allocations: 15.08 kB / 0.5739 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.6062, allocations: 32.91 kB / 0.5739 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.6072, allocations: 0.7026 MB / 0.5746 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6072, allocations: 0 / 0.5746 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6072, allocations: 0 / 0.5746 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.6072, allocations: 0 / 0.5746 GB, free: 12.72 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.0006133/0.6079, allocations: 385.5 kB / 0.575 GB, free: 12.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.6079, allocations: 9.469 kB / 0.575 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004501/0.6083, allocations: 67.81 kB / 0.575 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.6085, allocations: 143.8 kB / 0.5752 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.6085, allocations: 10.41 kB / 0.5752 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.6085, allocations: 8.844 kB / 0.5752 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.6087, allocations: 68.72 kB / 0.5752 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.6087, allocations: 3.938 kB / 0.5753 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.6087, allocations: 0 / 0.5753 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6087, allocations: 1.094 kB / 0.5753 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.6088, allocations: 42.41 kB / 0.5753 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.609, allocations: 169.1 kB / 0.5755 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.6093, allocations: 111.3 kB / 0.5756 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.6094, allocations: 37.5 kB / 0.5756 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/0.6099, allocations: 61.86 kB / 0.5757 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6099, allocations: 30.56 kB / 0.5757 GB, free: 11.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.6099, allocations: 0 / 0.5757 GB, free: 11.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003431/0.6102, allocations: 126.8 kB / 0.5758 GB, free: 11.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.6103, allocations: 79.36 kB / 0.5759 GB, free: 11.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.6104, allocations: 144.8 kB / 0.576 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6104, allocations: 25.7 kB / 0.576 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.6105, allocations: 88.41 kB / 0.5761 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.6105, allocations: 21.55 kB / 0.5761 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.6105, allocations: 28.98 kB / 0.5762 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6107, allocations: 320.6 kB / 0.5765 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.6108, allocations: 25.89 kB / 0.5765 GB, free: 11.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.6108, allocations: 51.34 kB / 0.5766 GB, free: 11.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.611, allocations: 84.08 kB / 0.5766 GB, free: 11.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.611, allocations: 3.938 kB / 0.5766 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000245/0.6112, allocations: 105.2 kB / 0.5767 GB, free: 11.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6113, allocations: 5.25 kB / 0.5767 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.6113, allocations: 2.5 kB / 0.5767 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6113, allocations: 0 / 0.5767 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.6113, allocations: 15.08 kB / 0.5768 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.6113, allocations: 6.062 kB / 0.5768 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.6114, allocations: 12.81 kB / 0.5768 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.6114, allocations: 10.97 kB / 0.5768 GB, free: 11.09 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.551e-05/0.6115, allocations: 121.6 kB / 0.5769 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.6116, allocations: 2.688 kB / 0.5769 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.6118, allocations: 116 kB / 0.577 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6118, allocations: 2.578 kB / 0.577 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6118, allocations: 0 / 0.577 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6118, allocations: 2.812 kB / 0.577 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.612, allocations: 155 kB / 0.5772 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.612, allocations: 4.688 kB / 0.5772 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.612, allocations: 13.12 kB / 0.5772 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6121, allocations: 2.094 kB / 0.5772 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6121, allocations: 0 / 0.5772 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.6121, allocations: 9.719 kB / 0.5772 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6121, allocations: 2.484 kB / 0.5772 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.6124, allocations: 167.6 kB / 0.5774 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.6124, allocations: 14.77 kB / 0.5774 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.6124, allocations: 1.781 kB / 0.5774 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.683e-05/0.6125, allocations: 2.625 kB / 0.5774 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.6125, allocations: 4.703 kB / 0.5774 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.6125, allocations: 8.188 kB / 0.5774 GB, free: 10.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.6126, allocations: 111.6 kB / 0.5775 GB, free: 10.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6126, allocations: 0 / 0.5775 GB, free: 10.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000458/0.6131, allocations: 169.1 kB / 0.5777 GB, free: 10.55 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.0008203/0.6139, allocations: 414 kB / 0.5781 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.6141, allocations: 65.53 kB / 0.5781 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6141, allocations: 0 / 0.5781 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.6142, allocations: 35.05 kB / 0.5782 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.6144, allocations: 21.66 kB / 0.5782 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.615, allocations: 316.5 kB / 0.5785 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.6153, allocations: 0.6911 MB / 0.5791 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.6154, allocations: 20.75 kB / 0.5792 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.6154, allocations: 16.06 kB / 0.5792 GB, free: 9.441 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6154, allocations: 3.938 kB / 0.5792 GB, free: 9.438 MB / 462.1 MB Notification: Performance of Templates: time 0.009051/0.6245, allocations: 4.773 MB / 0.5838 GB, free: 7.734 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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: 5.246070174034685]