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.001831/0.001831, allocations: 70.03 kB / 21.24 MB, free: 0.5547 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.002095/0.002095, allocations: 153.6 kB / 24.49 MB, free: 3.852 MB / 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.435/1.435, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.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.001571/0.001571, allocations: 46.91 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08445, allocations: 52.16 MB / 371.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002399/0.08685, allocations: 1.353 MB / 372.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3408/0.4276, allocations: 128.1 MB / 0.4892 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.4277, allocations: 5.203 kB / 0.4892 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.4277, allocations: 5.906 kB / 0.4892 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.4288, allocations: 376.1 kB / 0.4896 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4299, allocations: 0.5184 MB / 0.4901 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.43, allocations: 80.77 kB / 0.4902 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.43, allocations: 6.094 kB / 0.4902 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.4301, allocations: 30.42 kB / 0.4902 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.4302, allocations: 34.67 kB / 0.4902 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4302, allocations: 3.031 kB / 0.4902 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.4317, allocations: 0.925 MB / 0.4911 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.4317, allocations: 14.52 kB / 0.4912 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.4318, allocations: 27.23 kB / 0.4912 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.4327, allocations: 0.6607 MB / 0.4918 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4327, allocations: 4 kB / 0.4918 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4327, allocations: 5.188 kB / 0.4918 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4327, allocations: 0 / 0.4918 GB, free: 15.28 MB / 446.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.0006131/0.4333, allocations: 389.7 kB / 0.4922 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.4333, allocations: 10.45 kB / 0.4922 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.4338, allocations: 66.84 kB / 0.4923 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.4339, allocations: 145.6 kB / 0.4924 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4339, allocations: 5.094 kB / 0.4924 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.434, allocations: 6.234 kB / 0.4924 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4341, allocations: 72.66 kB / 0.4925 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4341, allocations: 6.719 kB / 0.4925 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.4341, allocations: 1.375 kB / 0.4925 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4341, allocations: 0 / 0.4925 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4343, allocations: 46.16 kB / 0.4926 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.4344, allocations: 137.6 kB / 0.4927 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.4347, allocations: 113.9 kB / 0.4928 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.4348, allocations: 37.72 kB / 0.4928 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004723/0.4353, allocations: 62.73 kB / 0.4929 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.4353, allocations: 36.19 kB / 0.4929 GB, free: 14.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4353, allocations: 0 / 0.4929 GB, free: 14.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000355/0.4357, allocations: 122.8 kB / 0.493 GB, free: 14.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4357, allocations: 82.17 kB / 0.4931 GB, free: 14.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4358, allocations: 142 kB / 0.4933 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4359, allocations: 25.7 kB / 0.4933 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.4359, allocations: 86.27 kB / 0.4934 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.4359, allocations: 22.38 kB / 0.4934 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.436, allocations: 21.17 kB / 0.4934 GB, free: 14.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4361, allocations: 319.2 kB / 0.4937 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.4362, allocations: 25.92 kB / 0.4937 GB, free: 13.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.4363, allocations: 53.08 kB / 0.4938 GB, free: 13.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4364, allocations: 86.36 kB / 0.4939 GB, free: 13.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4364, allocations: 0 / 0.4939 GB, free: 13.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.4366, allocations: 112.1 kB / 0.494 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4367, allocations: 8.438 kB / 0.494 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4367, allocations: 1.375 kB / 0.494 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4367, allocations: 1.375 kB / 0.494 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.4367, allocations: 18.39 kB / 0.494 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4368, allocations: 9.375 kB / 0.494 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.4368, allocations: 6.688 kB / 0.494 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.4368, allocations: 5.094 kB / 0.494 GB, free: 13.68 MB / 446.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.504e-05/0.4369, allocations: 117.3 kB / 0.4941 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.4369, allocations: 12.02 kB / 0.4941 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.4372, allocations: 111.2 kB / 0.4943 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4372, allocations: 1.375 kB / 0.4943 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4372, allocations: 2.469 kB / 0.4943 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4372, allocations: 0 / 0.4943 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4373, allocations: 131.3 kB / 0.4944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4373, allocations: 1.375 kB / 0.4944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.4374, allocations: 16.05 kB / 0.4944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4374, allocations: 0 / 0.4944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4374, allocations: 2.75 kB / 0.4944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4374, allocations: 0.5 kB / 0.4944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4374, allocations: 1.375 kB / 0.4944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.4377, allocations: 169.2 kB / 0.4946 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.4378, allocations: 17.52 kB / 0.4946 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4378, allocations: 1.734 kB / 0.4946 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.4378, allocations: 6.656 kB / 0.4946 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.4379, allocations: 8.828 kB / 0.4946 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.4379, allocations: 2.312 kB / 0.4946 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.627e-05/0.4379, allocations: 110 kB / 0.4947 GB, free: 13.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4379, allocations: 2.719 kB / 0.4947 GB, free: 13.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.4385, allocations: 167.5 kB / 0.4949 GB, free: 13.19 MB / 446.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.0009253/0.4394, allocations: 433.6 kB / 0.4953 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.4396, allocations: 62.3 kB / 0.4953 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4396, allocations: 0 / 0.4953 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.4397, allocations: 35.02 kB / 0.4954 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.4399, allocations: 28.52 kB / 0.4954 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.4404, allocations: 304.5 kB / 0.4957 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.4405, allocations: 75.22 kB / 0.4958 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.4405, allocations: 13.83 kB / 0.4958 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.4406, allocations: 16.97 kB / 0.4958 GB, free: 12.71 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4406, allocations: 0 / 0.4958 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Templates: time 0.008263/0.4488, allocations: 4.824 MB / 0.5005 GB, free: 12.17 MB / 446.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/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/jenkins1/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.754875560058281]