Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001925/0.001925, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002547/0.002547, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2586, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002583/0.2612, allocations: 1.382 MB / 433.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4059/0.6671, allocations: 152.4 MB / 0.5725 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.6672, allocations: 1.094 kB / 0.5725 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.6672, allocations: 5.672 kB / 0.5725 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.6684, allocations: 392.2 kB / 0.5729 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.6695, allocations: 0.5211 MB / 0.5734 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.6696, allocations: 74.73 kB / 0.5734 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.6697, allocations: 8 kB / 0.5735 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.6697, allocations: 34.88 kB / 0.5735 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.6698, allocations: 35.81 kB / 0.5735 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6698, allocations: 2.844 kB / 0.5735 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.6717, allocations: 1.155 MB / 0.5746 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.6717, allocations: 20.95 kB / 0.5747 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.6717, allocations: 25.56 kB / 0.5747 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.6727, allocations: 0.6986 MB / 0.5754 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6727, allocations: 0 / 0.5754 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6727, allocations: 4 kB / 0.5754 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.6727, allocations: 0 / 0.5754 GB, free: 12.71 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.0006358/0.6734, allocations: 384.6 kB / 0.5757 GB, free: 12.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6734, allocations: 10.22 kB / 0.5758 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.6739, allocations: 71.05 kB / 0.5758 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.674, allocations: 144.9 kB / 0.576 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.674, allocations: 3.938 kB / 0.576 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.6741, allocations: 4.25 kB / 0.576 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.6742, allocations: 82.06 kB / 0.576 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.6743, allocations: 0 / 0.576 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.6743, allocations: 0 / 0.576 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6743, allocations: 0 / 0.576 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.6744, allocations: 43.56 kB / 0.5761 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.6746, allocations: 158.6 kB / 0.5762 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.6749, allocations: 118.5 kB / 0.5764 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.675, allocations: 39.23 kB / 0.5764 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.6754, allocations: 60.27 kB / 0.5764 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.6755, allocations: 38 kB / 0.5765 GB, free: 11.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.6755, allocations: 0 / 0.5765 GB, free: 11.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003445/0.6758, allocations: 117.5 kB / 0.5766 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.6759, allocations: 85.05 kB / 0.5767 GB, free: 11.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.676, allocations: 141.7 kB / 0.5768 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.676, allocations: 29.27 kB / 0.5768 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.6761, allocations: 86.08 kB / 0.5769 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.6761, allocations: 25.66 kB / 0.5769 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.6761, allocations: 23.28 kB / 0.577 GB, free: 11.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6763, allocations: 316.1 kB / 0.5773 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.6763, allocations: 23.23 kB / 0.5773 GB, free: 11.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.6764, allocations: 55.14 kB / 0.5773 GB, free: 11.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.6766, allocations: 83.86 kB / 0.5774 GB, free: 11.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6766, allocations: 3.938 kB / 0.5774 GB, free: 11.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002337/0.6768, allocations: 112.8 kB / 0.5775 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6768, allocations: 8.578 kB / 0.5775 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6768, allocations: 0 / 0.5775 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6768, allocations: 3.219 kB / 0.5775 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.6769, allocations: 16.56 kB / 0.5776 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6769, allocations: 2.719 kB / 0.5776 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.677, allocations: 6.047 kB / 0.5776 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.677, allocations: 4.547 kB / 0.5776 GB, free: 11.08 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.72e-05/0.6771, allocations: 122.1 kB / 0.5777 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.6771, allocations: 6.516 kB / 0.5777 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.6774, allocations: 119.2 kB / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6774, allocations: 0 / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6774, allocations: 1.094 kB / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6774, allocations: 5.109 kB / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.6775, allocations: 158.6 kB / 0.578 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6775, allocations: 0 / 0.578 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.6776, allocations: 16.42 kB / 0.578 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6776, allocations: 2.844 kB / 0.578 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.6776, allocations: 4 kB / 0.578 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.6776, allocations: 3.938 kB / 0.578 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6776, allocations: 2.438 kB / 0.578 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.6779, allocations: 160.3 kB / 0.5782 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.6779, allocations: 12.73 kB / 0.5782 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.678, allocations: 5.062 kB / 0.5782 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.678, allocations: 7.688 kB / 0.5782 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.678, allocations: 5.328 kB / 0.5782 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.6781, allocations: 2.125 kB / 0.5782 GB, free: 10.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.477e-05/0.6781, allocations: 112.1 kB / 0.5783 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6781, allocations: 0 / 0.5783 GB, free: 10.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000568/0.6787, allocations: 168.5 kB / 0.5785 GB, free: 10.54 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.0008517/0.6795, allocations: 417.1 kB / 0.5788 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.6798, allocations: 66.62 kB / 0.5789 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6798, allocations: 0 / 0.5789 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.6798, allocations: 30.2 kB / 0.5789 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.6801, allocations: 30.8 kB / 0.579 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.6807, allocations: 342.5 kB / 0.5793 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.681, allocations: 0.6886 MB / 0.58 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.681, allocations: 16.48 kB / 0.58 GB, free: 9.406 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.681, allocations: 0 / 0.58 GB, free: 9.406 MB / 462.1 MB Notification: Performance of Templates: time 0.006748/0.6878, allocations: 4.06 MB / 0.5839 GB, free: 8.062 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.647319660056382]