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.000904/0.000904, allocations: 84 kB / 21.43 MB, free: 3.129 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.003424/0.003424, allocations: 141 kB / 24.68 MB, free: 9.43 MB / 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 0.8349/0.8349, allocations: 173.4 MB / 201.2 MB, free: 9.453 MB / 186.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.352e-06/1.352e-06, allocations: 0 / 319.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.103e-05, allocations: 6.281 kB / 319.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002192/0.002213, allocations: 1.33 MB / 321 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1237/0.1259, allocations: 127.8 MB / 448.8 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.1259, allocations: 0 / 448.8 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.126, allocations: 11.92 kB / 448.8 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008027/0.1268, allocations: 238.6 kB / 449 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.1275, allocations: 418.1 kB / 449.5 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.1276, allocations: 55.66 kB / 449.5 MB, free: 3.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1276, allocations: 7.984 kB / 449.5 MB, free: 3.395 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.1277, allocations: 31.91 kB / 449.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.1278, allocations: 23.97 kB / 449.6 MB, free: 3.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1278, allocations: 4 kB / 449.6 MB, free: 3.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.1285, allocations: 0.5689 MB / 450.1 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.1286, allocations: 7.984 kB / 450.1 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.1286, allocations: 15.94 kB / 450.2 MB, free: 2.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.1292, allocations: 0.5261 MB / 450.7 MB, free: 2.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1292, allocations: 4 kB / 450.7 MB, free: 2.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1292, allocations: 0 / 450.7 MB, free: 2.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1292, allocations: 3.938 kB / 450.7 MB, free: 2.207 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.00041/0.1296, allocations: 345.6 kB / 451 MB, free: 1.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1296, allocations: 12.92 kB / 451 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.1302, allocations: 104.8 kB / 451.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1304, allocations: 165.6 kB / 451.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1304, allocations: 4.125 kB / 451.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1304, allocations: 4 kB / 451.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1305, allocations: 91.33 kB / 451.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1305, allocations: 7.938 kB / 451.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1306, allocations: 0 / 451.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1306, allocations: 0 / 451.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.1307, allocations: 51.89 kB / 451.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.1311, allocations: 146.7 kB / 451.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.1314, allocations: 125.1 kB / 451.7 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/0.1314, allocations: 37.7 kB / 451.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.1316, allocations: 88.58 kB / 451.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1316, allocations: 50.48 kB / 451.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1316, allocations: 0 / 451.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002937/0.1319, allocations: 125.5 kB / 452 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1319, allocations: 85.09 kB / 452.1 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1321, allocations: 157.8 kB / 452.3 MB, free: 480 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1321, allocations: 25.7 kB / 452.3 MB, free: 448 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.1321, allocations: 84.14 kB / 452.4 MB, free: 360 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.1321, allocations: 23.78 kB / 452.4 MB, free: 336 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1322, allocations: 33.7 kB / 452.4 MB, free: 296 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1451/0.2772, allocations: 319.5 kB / 452.7 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2774, allocations: 23.97 kB / 452.8 MB, free: 136.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.2775, allocations: 51.52 kB / 452.8 MB, free: 136.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2776, allocations: 85.42 kB / 452.9 MB, free: 136.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2776, allocations: 0.5 kB / 452.9 MB, free: 136.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002676/0.2779, allocations: 125.4 kB / 453 MB, free: 136.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2779, allocations: 5.859 kB / 453 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2779, allocations: 1.094 kB / 453 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2779, allocations: 1.594 kB / 453 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.278, allocations: 29.56 kB / 453.1 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.278, allocations: 1.625 kB / 453.1 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.2781, allocations: 9.906 kB / 453.1 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2782, allocations: 8.812 kB / 453.1 MB, free: 136.5 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 7.076e-05/0.2782, allocations: 110.9 kB / 453.2 MB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.2783, allocations: 14.39 kB / 453.2 MB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.2787, allocations: 250.3 kB / 453.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2787, allocations: 1.5 kB / 453.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2787, allocations: 4.5 kB / 453.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2787, allocations: 0.5312 kB / 453.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2789, allocations: 157.7 kB / 453.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2789, allocations: 2.5 kB / 453.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.279, allocations: 27.28 kB / 453.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.279, allocations: 1.219 kB / 453.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.279, allocations: 5.359 kB / 453.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.279, allocations: 1.188 kB / 453.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.279, allocations: 4.344 kB / 453.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.2792, allocations: 183.9 kB / 453.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.2793, allocations: 16.72 kB / 453.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2793, allocations: 1.75 kB / 453.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.2794, allocations: 10.52 kB / 453.9 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.2794, allocations: 12.56 kB / 453.9 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2794, allocations: 9.156 kB / 453.9 MB, free: 136.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.2795, allocations: 128.8 kB / 454 MB, free: 136.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2795, allocations: 0.5 kB / 454 MB, free: 136.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.2799, allocations: 132 kB / 454.1 MB, free: 136.1 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 (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.0005748/0.2805, allocations: 332.3 kB / 454.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.2807, allocations: 78.02 kB / 454.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2807, allocations: 0 / 454.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.2808, allocations: 38.28 kB / 454.6 MB, free: 135.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.2809, allocations: 13.47 kB / 454.6 MB, free: 135.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.2813, allocations: 285.7 kB / 454.9 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.2814, allocations: 71 kB / 454.9 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.2815, allocations: 46.19 kB / 455 MB, free: 135.6 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2815, allocations: 1.375 kB / 455 MB, free: 135.6 MB / 410.7 MB Notification: Performance of Templates: time 0.003839/0.2853, allocations: 4.232 MB / 459.2 MB, free: 132.2 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.505700618028641]