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.001338/0.001338, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001464/0.001464, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.541/1.541, allocations: 230.6 MB / 258.2 MB, free: 8.035 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.001956/0.001956, allocations: 64.75 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2367, allocations: 53.36 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002533/0.2392, allocations: 1.389 MB / 433.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3836/0.6228, allocations: 152.4 MB / 0.5724 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.6228, allocations: 0 / 0.5724 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.6229, allocations: 5.953 kB / 0.5725 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.6239, allocations: 387.7 kB / 0.5728 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.625, allocations: 0.5203 MB / 0.5733 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.714e-05/0.6251, allocations: 80.8 kB / 0.5734 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.147e-05/0.6251, allocations: 0 / 0.5734 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.6251, allocations: 37.47 kB / 0.5734 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.6252, allocations: 35.38 kB / 0.5735 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6252, allocations: 2.906 kB / 0.5735 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.6268, allocations: 1.155 MB / 0.5746 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.6268, allocations: 15.27 kB / 0.5746 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.6268, allocations: 29.59 kB / 0.5747 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007982/0.6276, allocations: 0.6995 MB / 0.5753 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6276, allocations: 0 / 0.5753 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6276, allocations: 0 / 0.5753 GB, free: 12.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.6276, allocations: 3.844 kB / 0.5753 GB, free: 12.68 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.0006445/0.6283, allocations: 387.1 kB / 0.5757 GB, free: 12.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.6283, allocations: 10.44 kB / 0.5757 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.6287, allocations: 78.34 kB / 0.5758 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.6289, allocations: 140.2 kB / 0.5759 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.6289, allocations: 10.12 kB / 0.5759 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.6289, allocations: 5.875 kB / 0.5759 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.6291, allocations: 71.08 kB / 0.576 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6291, allocations: 0 / 0.576 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.6291, allocations: 3.953 kB / 0.576 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6291, allocations: 0.8125 kB / 0.576 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.6292, allocations: 41.78 kB / 0.5761 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.6294, allocations: 166.1 kB / 0.5762 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.6297, allocations: 115.8 kB / 0.5763 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.6298, allocations: 39.38 kB / 0.5764 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.6302, allocations: 55.81 kB / 0.5764 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.6303, allocations: 38.2 kB / 0.5765 GB, free: 11.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.6303, allocations: 1.203 kB / 0.5765 GB, free: 11.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003441/0.6306, allocations: 121.1 kB / 0.5766 GB, free: 11.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.6307, allocations: 81.69 kB / 0.5766 GB, free: 11.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.6308, allocations: 144.1 kB / 0.5768 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.6308, allocations: 28.83 kB / 0.5768 GB, free: 11.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.6309, allocations: 89.34 kB / 0.5769 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.6309, allocations: 23.39 kB / 0.5769 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.6309, allocations: 18.94 kB / 0.5769 GB, free: 11.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6311, allocations: 326.1 kB / 0.5772 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.6311, allocations: 22.45 kB / 0.5773 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.6312, allocations: 47.22 kB / 0.5773 GB, free: 11.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.6313, allocations: 84.75 kB / 0.5774 GB, free: 11.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6314, allocations: 10.84 kB / 0.5774 GB, free: 11.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002494/0.6316, allocations: 110.4 kB / 0.5775 GB, free: 11.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.6316, allocations: 4.438 kB / 0.5775 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6316, allocations: 5.188 kB / 0.5775 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6316, allocations: 480 / 0.5775 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.6317, allocations: 14.78 kB / 0.5775 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6317, allocations: 2.781 kB / 0.5775 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.6317, allocations: 5.047 kB / 0.5775 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.6318, allocations: 9.031 kB / 0.5775 GB, free: 11.04 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.545e-05/0.6319, allocations: 121.9 kB / 0.5777 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.6319, allocations: 5.531 kB / 0.5777 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.6321, allocations: 119.1 kB / 0.5778 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6321, allocations: 2.781 kB / 0.5778 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6321, allocations: 0 / 0.5778 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6322, allocations: 0 / 0.5778 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.6323, allocations: 159.3 kB / 0.5779 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6323, allocations: 4 kB / 0.5779 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.6324, allocations: 16.8 kB / 0.578 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6324, allocations: 0 / 0.578 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.6324, allocations: 4.891 kB / 0.578 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6324, allocations: 0 / 0.578 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6324, allocations: 0 / 0.578 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.6327, allocations: 169.3 kB / 0.5781 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.6327, allocations: 12.61 kB / 0.5781 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.6327, allocations: 0 / 0.5781 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.235e-05/0.6328, allocations: 1.812 kB / 0.5781 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.6328, allocations: 10.72 kB / 0.5781 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.6328, allocations: 2.844 kB / 0.5782 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.224e-05/0.6329, allocations: 110.5 kB / 0.5783 GB, free: 10.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6329, allocations: 2.75 kB / 0.5783 GB, free: 10.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.6333, allocations: 167 kB / 0.5784 GB, free: 10.5 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.0007829/0.6341, allocations: 419.1 kB / 0.5788 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.6343, allocations: 69 kB / 0.5789 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6343, allocations: 0 / 0.5789 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.6344, allocations: 29.11 kB / 0.5789 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.6346, allocations: 32.69 kB / 0.5789 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.6352, allocations: 320.5 kB / 0.5792 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.6355, allocations: 0.6882 MB / 0.5799 GB, free: 9.406 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.6355, allocations: 22.27 kB / 0.5799 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.6356, allocations: 12.75 kB / 0.58 GB, free: 9.387 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6356, allocations: 0 / 0.58 GB, free: 9.387 MB / 462.1 MB Notification: Performance of Templates: time 0.008486/0.6441, allocations: 4.766 MB / 0.5846 GB, free: 7.688 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 -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/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-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: 5.005134826526046]