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.001656/0.001656, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.0014/0.0014, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.459/1.459, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.001851/0.001851, allocations: 63.89 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.1, allocations: 53.32 MB / 427.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002438/0.1025, allocations: 1.393 MB / 429.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3607/0.4632, allocations: 152.4 MB / 0.5679 GB, free: 6.867 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.4633, allocations: 0 / 0.5679 GB, free: 6.867 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.4633, allocations: 4 kB / 0.5679 GB, free: 6.863 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.4644, allocations: 374.4 kB / 0.5683 GB, free: 6.496 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.4657, allocations: 0.522 MB / 0.5688 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.4658, allocations: 75.64 kB / 0.5689 GB, free: 5.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.019e-05/0.4658, allocations: 0 / 0.5689 GB, free: 5.902 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.4659, allocations: 31.91 kB / 0.5689 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.4659, allocations: 35.84 kB / 0.569 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.466, allocations: 0 / 0.569 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.4679, allocations: 1.134 MB / 0.5701 GB, free: 4.699 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.468, allocations: 19.91 kB / 0.5701 GB, free: 4.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.468, allocations: 27.86 kB / 0.5701 GB, free: 4.652 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.4691, allocations: 0.6953 MB / 0.5708 GB, free: 3.957 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4691, allocations: 0 / 0.5708 GB, free: 3.957 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4691, allocations: 0 / 0.5708 GB, free: 3.957 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.4691, allocations: 0.5625 kB / 0.5708 GB, free: 3.957 MB / 478.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.0006399/0.4698, allocations: 462.2 kB / 0.5712 GB, free: 3.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.4698, allocations: 12.03 kB / 0.5712 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.4703, allocations: 76.78 kB / 0.5713 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.4705, allocations: 196.2 kB / 0.5715 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4705, allocations: 7.938 kB / 0.5715 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.4705, allocations: 6.344 kB / 0.5715 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4707, allocations: 67.39 kB / 0.5716 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4707, allocations: 4 kB / 0.5716 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.4707, allocations: 3.984 kB / 0.5716 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.4707, allocations: 4 kB / 0.5716 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4708, allocations: 43.91 kB / 0.5716 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.471, allocations: 190.5 kB / 0.5718 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.4714, allocations: 117.1 kB / 0.5719 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.4714, allocations: 37.7 kB / 0.572 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.4719, allocations: 133 kB / 0.5721 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.472, allocations: 38.56 kB / 0.5721 GB, free: 2.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.472, allocations: 0 / 0.5721 GB, free: 2.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003705/0.4723, allocations: 121.8 kB / 0.5722 GB, free: 2.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4724, allocations: 77.11 kB / 0.5723 GB, free: 2.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4725, allocations: 141.8 kB / 0.5724 GB, free: 2.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.4725, allocations: 25.7 kB / 0.5725 GB, free: 1.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.4726, allocations: 84.14 kB / 0.5726 GB, free: 1.902 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.4726, allocations: 35.77 kB / 0.5726 GB, free: 1.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.4727, allocations: 21.72 kB / 0.5726 GB, free: 1.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4728, allocations: 318.8 kB / 0.5729 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.4729, allocations: 23.98 kB / 0.5729 GB, free: 1.496 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.664e-05/0.473, allocations: 47.42 kB / 0.573 GB, free: 1.438 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.4731, allocations: 87.31 kB / 0.5731 GB, free: 1.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4731, allocations: 8.625 kB / 0.5731 GB, free: 1.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002602/0.4734, allocations: 105.5 kB / 0.5732 GB, free: 1.223 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4734, allocations: 8 kB / 0.5732 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4734, allocations: 3.984 kB / 0.5732 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4734, allocations: 4 kB / 0.5732 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.4735, allocations: 20.06 kB / 0.5732 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4735, allocations: 0 / 0.5732 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.4736, allocations: 9.578 kB / 0.5732 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4736, allocations: 3.984 kB / 0.5732 GB, free: 1.176 MB / 478.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.915e-05/0.4737, allocations: 117.8 kB / 0.5733 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.4737, allocations: 4 kB / 0.5733 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.474, allocations: 115 kB / 0.5734 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.474, allocations: 4 kB / 0.5734 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.474, allocations: 4 kB / 0.5735 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.474, allocations: 0 / 0.5735 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4741, allocations: 181.6 kB / 0.5736 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4742, allocations: 3.938 kB / 0.5736 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.955e-05/0.4742, allocations: 19.92 kB / 0.5736 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4742, allocations: 0 / 0.5736 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4743, allocations: 4 kB / 0.5737 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4743, allocations: 1.75 kB / 0.5737 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4743, allocations: 4 kB / 0.5737 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.4746, allocations: 161.8 kB / 0.5738 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.4747, allocations: 89.06 kB / 0.5739 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4747, allocations: 0 / 0.5739 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.4747, allocations: 4 kB / 0.5739 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.4748, allocations: 11.92 kB / 0.5739 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.4748, allocations: 4 kB / 0.5739 GB, free: 364 kB / 478.1 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.4749, allocations: 121.8 kB / 0.574 GB, free: 244 kB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4749, allocations: 0 / 0.574 GB, free: 244 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.4754, allocations: 159.5 kB / 0.5742 GB, free: 84 kB / 478.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.001026/0.4764, allocations: 435.3 kB / 0.5746 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.4766, allocations: 59.89 kB / 0.5747 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4766, allocations: 4.125 kB / 0.5747 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.769e-05/0.4767, allocations: 31.98 kB / 0.5747 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.4769, allocations: 33.56 kB / 0.5747 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.4775, allocations: 350.5 kB / 0.5751 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.4778, allocations: 0.6885 MB / 0.5757 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.4778, allocations: 15.44 kB / 0.5757 GB, free: 14.43 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4778, allocations: 0 / 0.5757 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Templates: time 0.006673/0.4845, allocations: 4.065 MB / 0.5797 GB, free: 10.38 MB / 494.1 MB " [Timeout remaining time 660] 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_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_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.018947597127408]