Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.00107/0.00107, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002671, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001036/0.001036, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002552, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9053/0.9053, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1644/1.07, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.52e-05, allocations: 4.5 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001738/0.001763, allocations: 1.433 MB / 241.2 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2663/0.2681, allocations: 141.5 MB / 382.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.2682, allocations: 0 / 382.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.2682, allocations: 14.83 kB / 382.7 MB, free: 8.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006998/0.2689, allocations: 229.7 kB / 382.9 MB, free: 8.594 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.2697, allocations: 390.6 kB / 383.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2698, allocations: 58.61 kB / 383.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.2699, allocations: 9.266 kB / 383.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/0.2699, allocations: 35.8 kB / 383.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.27, allocations: 25.12 kB / 383.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.27, allocations: 0 / 383.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008875/0.2709, allocations: 0.6125 MB / 384 MB, free: 8.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.2709, allocations: 6 kB / 384 MB, free: 8.211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.271, allocations: 15 kB / 384 MB, free: 8.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.2715, allocations: 455.4 kB / 384.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.2715, allocations: 0 / 384.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2715, allocations: 0 / 384.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.2715, allocations: 0 / 384.5 MB, free: 8.078 MB / 330.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.0004374/0.272, allocations: 382 kB / 384.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.272, allocations: 11.06 kB / 384.9 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005651/0.2726, allocations: 181.1 kB / 385 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.2729, allocations: 210.1 kB / 385.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2729, allocations: 3.562 kB / 385.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2729, allocations: 7.875 kB / 385.3 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.273, allocations: 89.47 kB / 385.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.273, allocations: 0 / 385.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-06/0.273, allocations: 2.156 kB / 385.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.273, allocations: 4 kB / 385.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.2731, allocations: 40.3 kB / 385.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.2732, allocations: 81.36 kB / 385.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2734, allocations: 112 kB / 385.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.2735, allocations: 35.8 kB / 385.6 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.2736, allocations: 92.42 kB / 385.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2737, allocations: 37.16 kB / 385.7 MB, free: 7.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.2737, allocations: 0 / 385.7 MB, free: 7.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001725/0.2738, allocations: 99.62 kB / 385.8 MB, free: 7.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2739, allocations: 80.67 kB / 385.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.2739, allocations: 150.6 kB / 386.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.274, allocations: 28.77 kB / 386.1 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/0.274, allocations: 83.7 kB / 386.2 MB, free: 6.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.274, allocations: 24.69 kB / 386.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.2741, allocations: 33.03 kB / 386.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.2741, allocations: 316.3 kB / 386.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.2741, allocations: 15.33 kB / 386.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.2742, allocations: 45 kB / 386.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.911e-05/0.2742, allocations: 75.27 kB / 386.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2742, allocations: 0 / 386.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.726e-05/0.2743, allocations: 88.8 kB / 386.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2744, allocations: 9.234 kB / 386.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2744, allocations: 3.938 kB / 386.8 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2744, allocations: 3.812 kB / 386.8 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.2745, allocations: 29.42 kB / 386.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2745, allocations: 6.656 kB / 386.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.2745, allocations: 5.688 kB / 386.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2745, allocations: 8.234 kB / 386.8 MB, free: 6.199 MB / 330.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 6.134e-05/0.2746, allocations: 116.2 kB / 386.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.2746, allocations: 6.891 kB / 386.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.2748, allocations: 169.2 kB / 387.1 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2748, allocations: 6.688 kB / 387.1 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2748, allocations: 0 / 387.1 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2748, allocations: 0.5156 kB / 387.1 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.996e-05/0.2749, allocations: 100.5 kB / 387.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2749, allocations: 0 / 387.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.275, allocations: 25.34 kB / 387.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.2751, allocations: 38.64 kB / 387.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2751, allocations: 2.812 kB / 387.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2751, allocations: 9.547 kB / 387.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2751, allocations: 7.922 kB / 387.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2751, allocations: 6.812 kB / 387.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.2752, allocations: 126.4 kB / 387.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2752, allocations: 0 / 387.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.2753, allocations: 3.094 kB / 387.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.2753, allocations: 17.81 kB / 387.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.2753, allocations: 2.938 kB / 387.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.2756, allocations: 60.31 kB / 387.5 MB, free: 5.723 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2756, allocations: 0 / 387.5 MB, free: 5.723 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.2759, allocations: 140.4 kB / 387.6 MB, free: 5.691 MB / 330.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005521/0.2765, allocations: 350.9 kB / 388 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.2766, allocations: 62.62 kB / 388 MB, free: 5.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2766, allocations: 4 kB / 388 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.804e-05/0.2767, allocations: 36.05 kB / 388.1 MB, free: 5.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.2768, allocations: 97.92 kB / 388.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.2781, allocations: 222.8 kB / 388.4 MB, free: 5.234 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.2781, allocations: 63.28 kB / 388.5 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003074/0.2784, allocations: 424.1 kB / 388.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2786, allocations: 93.25 kB / 389 MB, free: 4.906 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2786, allocations: 0 / 389 MB, free: 4.906 MB / 330.7 MB Notification: Performance of Templates: time 0.008254/0.2868, allocations: 7.711 MB / 396.7 MB, free: 24 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.928190247155726]