Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2828, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.0024/0.2852, allocations: 1.388 MB / 422.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3817/0.6669, allocations: 149.5 MB / 0.5584 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.667, allocations: 0 / 0.5584 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.667, allocations: 7.766 kB / 0.5584 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.668, allocations: 380.9 kB / 0.5587 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.669, allocations: 0.5066 MB / 0.5592 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.912e-05/0.6691, allocations: 75.59 kB / 0.5593 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.6692, allocations: 7.641 kB / 0.5593 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.6692, allocations: 32.03 kB / 0.5593 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.6693, allocations: 35.41 kB / 0.5594 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.6693, allocations: 3.062 kB / 0.5594 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.6708, allocations: 1.119 MB / 0.5605 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.6708, allocations: 13.75 kB / 0.5605 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.6708, allocations: 33.02 kB / 0.5605 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008212/0.6717, allocations: 0.6887 MB / 0.5612 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6717, allocations: 0 / 0.5612 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6717, allocations: 0 / 0.5612 GB, free: 13.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.6717, allocations: 1.094 kB / 0.5612 GB, free: 13.41 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.0006346/0.6723, allocations: 465.8 kB / 0.5616 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.6723, allocations: 10.09 kB / 0.5616 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.6728, allocations: 72.97 kB / 0.5617 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.673, allocations: 196.5 kB / 0.5619 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.673, allocations: 7.938 kB / 0.5619 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.673, allocations: 11.67 kB / 0.5619 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.6731, allocations: 69.89 kB / 0.562 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6732, allocations: 2.625 kB / 0.562 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.6732, allocations: 3.375 kB / 0.562 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.6732, allocations: 0 / 0.562 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.6733, allocations: 44.41 kB / 0.562 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.6735, allocations: 195.2 kB / 0.5622 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.6738, allocations: 115.8 kB / 0.5623 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.433e-05/0.6738, allocations: 39.08 kB / 0.5624 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/0.6744, allocations: 139.5 kB / 0.5625 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.6744, allocations: 30.56 kB / 0.5625 GB, free: 12.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.6744, allocations: 6.656 kB / 0.5625 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003278/0.6747, allocations: 121.5 kB / 0.5627 GB, free: 12.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.6748, allocations: 79.14 kB / 0.5627 GB, free: 12.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.6749, allocations: 139.4 kB / 0.5629 GB, free: 12.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6749, allocations: 25.7 kB / 0.5629 GB, free: 12.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.675, allocations: 86.64 kB / 0.563 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.675, allocations: 22.39 kB / 0.563 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.675, allocations: 24.88 kB / 0.563 GB, free: 11.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6752, allocations: 316.3 kB / 0.5633 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.6752, allocations: 26.62 kB / 0.5633 GB, free: 11.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.6753, allocations: 51.5 kB / 0.5634 GB, free: 11.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.6755, allocations: 84.81 kB / 0.5635 GB, free: 11.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6755, allocations: 7.875 kB / 0.5635 GB, free: 11.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002382/0.6757, allocations: 112.8 kB / 0.5636 GB, free: 11.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6757, allocations: 7.531 kB / 0.5636 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6757, allocations: 0 / 0.5636 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.6757, allocations: 3.031 kB / 0.5636 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.6758, allocations: 11.94 kB / 0.5636 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6758, allocations: 2.781 kB / 0.5636 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.6759, allocations: 16.69 kB / 0.5636 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.6759, allocations: 3.719 kB / 0.5636 GB, free: 11.47 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.548e-05/0.676, allocations: 126.7 kB / 0.5638 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.676, allocations: 8.906 kB / 0.5638 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.6762, allocations: 108.5 kB / 0.5639 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.6762, allocations: 3.938 kB / 0.5639 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6762, allocations: 2.75 kB / 0.5639 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6763, allocations: 4 kB / 0.5639 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.6764, allocations: 185.9 kB / 0.5641 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.6764, allocations: 0 / 0.5641 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.6765, allocations: 16.06 kB / 0.5641 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6765, allocations: 1.094 kB / 0.5641 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.6765, allocations: 2.625 kB / 0.5641 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6765, allocations: 0 / 0.5641 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6765, allocations: 2.312 kB / 0.5641 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.6768, allocations: 169.8 kB / 0.5642 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.6769, allocations: 91.06 kB / 0.5643 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.6769, allocations: 3.25 kB / 0.5643 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.677, allocations: 2.219 kB / 0.5643 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.677, allocations: 4.688 kB / 0.5643 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.677, allocations: 2.75 kB / 0.5643 GB, free: 10.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.6771, allocations: 116.6 kB / 0.5644 GB, free: 10.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6771, allocations: 4.062 kB / 0.5644 GB, free: 10.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.6775, allocations: 162.6 kB / 0.5646 GB, free: 10.8 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.0009017/0.6784, allocations: 427.7 kB / 0.565 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.6786, allocations: 65.92 kB / 0.5651 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6786, allocations: 0 / 0.5651 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.6787, allocations: 31.47 kB / 0.5651 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.6789, allocations: 38.33 kB / 0.5651 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.6794, allocations: 303 kB / 0.5654 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.6797, allocations: 0.6978 MB / 0.5661 GB, free: 9.711 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.6798, allocations: 11.72 kB / 0.5661 GB, free: 9.707 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.6798, allocations: 14.22 kB / 0.5661 GB, free: 9.699 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6798, allocations: 2.969 kB / 0.5661 GB, free: 9.699 MB / 462.1 MB Notification: Performance of Templates: time 0.007983/0.6878, allocations: 4.756 MB / 0.5708 GB, free: 8.863 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.796845491044223]