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.001871/0.001871, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002199/0.002199, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.434/1.434, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.263e-06/1.263e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.044e-05, allocations: 6.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002355/0.002375, allocations: 1.349 MB / 268.7 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2639/0.2663, allocations: 128.1 MB / 396.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.2663, allocations: 0 / 396.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/0.2664, allocations: 3.938 kB / 396.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.2677, allocations: 386.6 kB / 397.1 MB, free: 6.859 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.269, allocations: 0.5291 MB / 397.7 MB, free: 6.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.2692, allocations: 79.58 kB / 397.8 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.2692, allocations: 3.938 kB / 397.8 MB, free: 6.246 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.2693, allocations: 47.88 kB / 397.8 MB, free: 6.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.2694, allocations: 23.97 kB / 397.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2694, allocations: 3.938 kB / 397.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.2711, allocations: 0.9268 MB / 398.8 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.2712, allocations: 19.92 kB / 398.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.2712, allocations: 27.97 kB / 398.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2724, allocations: 0.748 MB / 399.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2724, allocations: 4 kB / 399.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2724, allocations: 0 / 399.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.2724, allocations: 0 / 399.6 MB, free: 4.441 MB / 346.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.0006793/0.2731, allocations: 385.1 kB / 399.9 MB, free: 4.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.2731, allocations: 8.922 kB / 399.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/0.2737, allocations: 72.81 kB / 400 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.2738, allocations: 145.6 kB / 400.2 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2738, allocations: 4.359 kB / 400.2 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2739, allocations: 12.5 kB / 400.2 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.2741, allocations: 75.33 kB / 400.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2741, allocations: 0 / 400.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2741, allocations: 4 kB / 400.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2741, allocations: 0 / 400.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.2742, allocations: 43.91 kB / 400.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.2744, allocations: 134.2 kB / 400.4 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.2747, allocations: 113.1 kB / 400.5 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2748, allocations: 37.77 kB / 400.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.2753, allocations: 59.92 kB / 400.6 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2754, allocations: 30.56 kB / 400.7 MB, free: 3.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.2754, allocations: 4 kB / 400.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006203/0.276, allocations: 133.4 kB / 400.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.2761, allocations: 81.11 kB / 400.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2762, allocations: 135.2 kB / 401 MB, free: 2.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2762, allocations: 29.7 kB / 401 MB, free: 2.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.2763, allocations: 92.12 kB / 401.1 MB, free: 2.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.2763, allocations: 19.8 kB / 401.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.2764, allocations: 21.7 kB / 401.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2765, allocations: 318.8 kB / 401.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.2766, allocations: 27.98 kB / 401.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.2767, allocations: 55.39 kB / 401.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.2769, allocations: 79.72 kB / 401.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2769, allocations: 4 kB / 401.6 MB, free: 2.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002866/0.2772, allocations: 113.5 kB / 401.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2772, allocations: 14.91 kB / 401.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2772, allocations: 0 / 401.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2772, allocations: 4.062 kB / 401.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.2773, allocations: 15.98 kB / 401.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2773, allocations: 4 kB / 401.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.2774, allocations: 11.89 kB / 401.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2774, allocations: 4 kB / 401.8 MB, free: 1.977 MB / 346.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 9.877e-05/0.2775, allocations: 113.8 kB / 401.9 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.2775, allocations: 19.92 kB / 401.9 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.2778, allocations: 120.2 kB / 402 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2778, allocations: 0 / 402 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2778, allocations: 4 kB / 402.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2779, allocations: 0 / 402.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.278, allocations: 129.2 kB / 402.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.278, allocations: 5 kB / 402.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.2781, allocations: 8 kB / 402.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2781, allocations: 0 / 402.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2781, allocations: 4 kB / 402.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2781, allocations: 3.938 kB / 402.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2781, allocations: 0 / 402.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.2785, allocations: 177.2 kB / 402.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.2785, allocations: 15.97 kB / 402.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2785, allocations: 0 / 402.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.2786, allocations: 3.938 kB / 402.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.2786, allocations: 7.984 kB / 402.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2786, allocations: 4 kB / 402.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.2787, allocations: 107.3 kB / 402.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2787, allocations: 0 / 402.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.2793, allocations: 171.4 kB / 402.7 MB, free: 1.035 MB / 346.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.001107/0.2804, allocations: 448.3 kB / 403.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.2806, allocations: 63.89 kB / 403.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2806, allocations: 0 / 403.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.2807, allocations: 27.92 kB / 403.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.281, allocations: 33.98 kB / 403.2 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.2815, allocations: 263 kB / 403.5 MB, free: 200 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.2816, allocations: 71.34 kB / 403.6 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.2816, allocations: 25.45 kB / 403.6 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.2817, allocations: 20.5 kB / 403.6 MB, free: 68 kB / 346.7 MB Notification: Performance of SimCode: time 4.9e-07/0.2817, allocations: 0 / 403.6 MB, free: 68 kB / 346.7 MB Notification: Performance of Templates: time 0.01061/0.2923, allocations: 4.982 MB / 408.6 MB, free: 11.12 MB / 362.7 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 -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/jenkins/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/jenkins/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.559192879009061]