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.0008367/0.0008367, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003377/0.003377, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8339/0.8339, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.322e-06/1.322e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.871e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001433/0.001452, allocations: 1.36 MB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2794/0.2808, allocations: 131 MB / 458.1 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.2809, allocations: 0 / 458.1 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.2809, allocations: 6.219 kB / 458.1 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000938/0.2818, allocations: 378.8 kB / 458.5 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.2826, allocations: 0.5332 MB / 459 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2827, allocations: 77.33 kB / 459.1 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.2827, allocations: 6.562 kB / 459.1 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.2828, allocations: 47.47 kB / 459.1 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.2829, allocations: 26.42 kB / 459.1 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2829, allocations: 5.797 kB / 459.2 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.2839, allocations: 0.9477 MB / 460.1 MB, free: 6.074 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.2839, allocations: 17.39 kB / 460.1 MB, free: 6.074 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.284, allocations: 23.78 kB / 460.1 MB, free: 6.074 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.2847, allocations: 0.7533 MB / 460.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2847, allocations: 0.625 kB / 460.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2847, allocations: 0.8125 kB / 460.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2847, allocations: 0 / 460.9 MB, free: 6.039 MB / 410.7 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.0004246/0.2851, allocations: 381.3 kB / 461.3 MB, free: 5.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2851, allocations: 12.83 kB / 461.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.2854, allocations: 75.62 kB / 461.4 MB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2855, allocations: 139.9 kB / 461.5 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.2855, allocations: 3.531 kB / 461.5 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2856, allocations: 4.375 kB / 461.5 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.2857, allocations: 78.53 kB / 461.6 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2857, allocations: 2.188 kB / 461.6 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.2857, allocations: 0 / 461.6 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2857, allocations: 2.594 kB / 461.6 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.2858, allocations: 43.61 kB / 461.6 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.2859, allocations: 137.7 kB / 461.8 MB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2861, allocations: 112.4 kB / 461.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.2861, allocations: 38.7 kB / 461.9 MB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.2864, allocations: 60.17 kB / 462 MB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.2864, allocations: 37.66 kB / 462 MB, free: 5.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2864, allocations: 4 kB / 462 MB, free: 5.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002274/0.2867, allocations: 121.6 kB / 462.1 MB, free: 5.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.2867, allocations: 79.86 kB / 462.2 MB, free: 5.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.2868, allocations: 139.5 kB / 462.3 MB, free: 5.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-06/0.2868, allocations: 26.8 kB / 462.4 MB, free: 5.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.2868, allocations: 89.5 kB / 462.4 MB, free: 4.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.2868, allocations: 21.45 kB / 462.5 MB, free: 4.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.2869, allocations: 24.42 kB / 462.5 MB, free: 4.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.733e-05/0.2869, allocations: 320 kB / 462.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.93e-05/0.2869, allocations: 29.67 kB / 462.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.287, allocations: 47.23 kB / 462.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.287, allocations: 86.27 kB / 463 MB, free: 4.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.287, allocations: 3.812 kB / 463 MB, free: 4.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001272/0.2872, allocations: 106.2 kB / 463.1 MB, free: 4.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2872, allocations: 10.47 kB / 463.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2872, allocations: 0 / 463.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2872, allocations: 6.688 kB / 463.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.175e-05/0.2872, allocations: 20.03 kB / 463.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2872, allocations: 2.625 kB / 463.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.2873, allocations: 6.984 kB / 463.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2873, allocations: 2.906 kB / 463.1 MB, free: 4.484 MB / 410.7 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 3.737e-05/0.2873, allocations: 115.2 kB / 463.2 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.2873, allocations: 5.125 kB / 463.2 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.2875, allocations: 118.6 kB / 463.4 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2875, allocations: 1.203 kB / 463.4 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2875, allocations: 4.094 kB / 463.4 MB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2875, allocations: 6.547 kB / 463.4 MB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.056e-05/0.2875, allocations: 133.4 kB / 463.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2875, allocations: 0 / 463.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.2876, allocations: 14.2 kB / 463.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2876, allocations: 0 / 463.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.2876, allocations: 3.125 kB / 463.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2876, allocations: 3.938 kB / 463.5 MB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2876, allocations: 0.5469 kB / 463.5 MB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.2878, allocations: 166.8 kB / 463.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.2878, allocations: 13.58 kB / 463.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2878, allocations: 0 / 463.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.2879, allocations: 6.906 kB / 463.7 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.2879, allocations: 8.844 kB / 463.7 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2879, allocations: 6.438 kB / 463.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.464e-05/0.2879, allocations: 111.2 kB / 463.8 MB, free: 4.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2879, allocations: 0 / 463.8 MB, free: 4.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.2883, allocations: 167.5 kB / 464 MB, free: 3.996 MB / 410.7 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.0006199/0.2889, allocations: 433.5 kB / 464.4 MB, free: 3.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.2891, allocations: 74.75 kB / 464.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2891, allocations: 0 / 464.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.2891, allocations: 27.53 kB / 464.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.2893, allocations: 24.94 kB / 464.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.2896, allocations: 281.7 kB / 464.8 MB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.2897, allocations: 76.19 kB / 464.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.2897, allocations: 23.2 kB / 464.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2897, allocations: 0 / 464.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of Templates: time 0.004257/0.294, allocations: 4.148 MB / 469.1 MB, free: 3.02 MB / 410.7 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/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_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: 4.896352538838983]