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.001875/0.001875, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.00147/0.00147, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.491/1.491, allocations: 230.5 MB / 258.1 MB, free: 8.156 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.002009/0.002009, allocations: 71.83 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2535, allocations: 53.31 MB / 432 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002491/0.2559, allocations: 1.396 MB / 433.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4125/0.6685, allocations: 152.4 MB / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.6685, allocations: 0 / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.991e-05/0.6686, allocations: 5.953 kB / 0.5721 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.6697, allocations: 385.1 kB / 0.5725 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.6708, allocations: 0.5083 MB / 0.573 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.692e-05/0.6709, allocations: 71.55 kB / 0.573 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.6709, allocations: 6.688 kB / 0.573 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.671, allocations: 33.53 kB / 0.5731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.671, allocations: 37.59 kB / 0.5731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.6711, allocations: 6.594 kB / 0.5731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.6727, allocations: 1.131 MB / 0.5742 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.6727, allocations: 11.2 kB / 0.5742 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.6728, allocations: 36.19 kB / 0.5743 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.6736, allocations: 0.6948 MB / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6736, allocations: 0 / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.6736, allocations: 0 / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.6736, allocations: 1.812 kB / 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.0006525/0.6743, allocations: 467.4 kB / 0.5754 GB, free: 12.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.6743, allocations: 10.03 kB / 0.5754 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/0.6748, allocations: 70.98 kB / 0.5755 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.675, allocations: 195.4 kB / 0.5756 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.675, allocations: 6.688 kB / 0.5757 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.675, allocations: 3.625 kB / 0.5757 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.6752, allocations: 77.56 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6752, allocations: 1.203 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.6752, allocations: 4 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.6752, allocations: 2.578 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.6753, allocations: 43.55 kB / 0.5758 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.6755, allocations: 190 kB / 0.576 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.6758, allocations: 117.7 kB / 0.5761 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.6759, allocations: 31.48 kB / 0.5761 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/0.6764, allocations: 147.2 kB / 0.5762 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.6764, allocations: 31.44 kB / 0.5763 GB, free: 11.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.6764, allocations: 0 / 0.5763 GB, free: 11.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003439/0.6767, allocations: 117.1 kB / 0.5764 GB, free: 11.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.6768, allocations: 86.45 kB / 0.5765 GB, free: 11.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.6769, allocations: 137.4 kB / 0.5766 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.677, allocations: 29.64 kB / 0.5766 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.677, allocations: 92.44 kB / 0.5767 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.677, allocations: 24.16 kB / 0.5767 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.6771, allocations: 20.97 kB / 0.5768 GB, free: 11.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6772, allocations: 316.5 kB / 0.5771 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.6773, allocations: 25.36 kB / 0.5771 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.6774, allocations: 51.67 kB / 0.5771 GB, free: 10.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.6775, allocations: 81.25 kB / 0.5772 GB, free: 10.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6775, 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.0002299/0.6778, allocations: 107.4 kB / 0.5773 GB, free: 10.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.6778, allocations: 6.125 kB / 0.5773 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6778, allocations: 2.094 kB / 0.5773 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6778, allocations: 6.641 kB / 0.5773 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.6779, allocations: 18.06 kB / 0.5774 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6779, allocations: 4.609 kB / 0.5774 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.6779, allocations: 6.797 kB / 0.5774 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.6779, allocations: 6.266 kB / 0.5774 GB, free: 10.84 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.235e-05/0.678, allocations: 114.7 kB / 0.5775 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.6781, allocations: 8.875 kB / 0.5775 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.6783, allocations: 118.3 kB / 0.5776 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6783, allocations: 2.312 kB / 0.5776 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6783, allocations: 1.922 kB / 0.5776 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.6783, allocations: 6.547 kB / 0.5776 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.6785, allocations: 189.8 kB / 0.5778 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6785, allocations: 4 kB / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.6785, allocations: 12.12 kB / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6785, allocations: 0 / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.6786, allocations: 5.828 kB / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6786, allocations: 0 / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6786, allocations: 6.625 kB / 0.5778 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.6789, allocations: 163.2 kB / 0.578 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.6789, allocations: 88.45 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.679, allocations: 5.188 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.679, allocations: 3.219 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.679, allocations: 4.609 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.6791, allocations: 8.766 kB / 0.5781 GB, free: 10.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.353e-05/0.6791, allocations: 111.8 kB / 0.5782 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6791, allocations: 2.781 kB / 0.5782 GB, free: 10.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.6796, allocations: 158.7 kB / 0.5783 GB, free: 10.17 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.0009351/0.6806, allocations: 423.1 kB / 0.5787 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.6808, allocations: 69.17 kB / 0.5788 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6808, allocations: 0 / 0.5788 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.6809, allocations: 32.33 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.0002478/0.6811, allocations: 29.48 kB / 0.5789 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.6816, allocations: 319.8 kB / 0.5792 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.682, allocations: 0.691 MB / 0.5798 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.682, allocations: 19.84 kB / 0.5799 GB, free: 9.059 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.682, allocations: 15.3 kB / 0.5799 GB, free: 9.051 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.682, allocations: 0 / 0.5799 GB, free: 9.051 MB / 462.1 MB Notification: Performance of Templates: time 0.008528/0.6906, allocations: 4.767 MB / 0.5845 GB, free: 7.41 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 -s cvode -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.936698780860752]