Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 159.3 kB / 25.03 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.504e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002775/0.0028, allocations: 1.359 MB / 251.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.3159/0.3187, allocations: 143 MB / 394.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.3188, allocations: 2.656 kB / 394.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.3188, allocations: 5.766 kB / 394.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008331/0.3196, allocations: 237.7 kB / 395 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.3209, allocations: 0.6468 MB / 395.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.321, allocations: 61.53 kB / 395.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.3211, allocations: 2.812 kB / 395.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.3211, allocations: 28.44 kB / 395.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.3212, allocations: 29.45 kB / 395.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3212, allocations: 2.812 kB / 395.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.3224, allocations: 0.7671 MB / 396.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.3224, allocations: 4.312 kB / 396.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.3225, allocations: 25.89 kB / 396.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.3233, allocations: 0.6712 MB / 397.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3233, allocations: 0 / 397.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3233, allocations: 0 / 397.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3233, allocations: 0 / 397.2 MB, free: 9.863 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.0004546/0.3238, allocations: 484.7 kB / 397.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.3238, allocations: 14.92 kB / 397.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.3248, allocations: 93.73 kB / 397.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3251, allocations: 214.2 kB / 398 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3251, allocations: 2.75 kB / 398 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3251, allocations: 7.625 kB / 398 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3253, allocations: 98.89 kB / 398.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3253, allocations: 0 / 398.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3253, allocations: 0 / 398.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3253, allocations: 2.438 kB / 398.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3255, allocations: 48.52 kB / 398.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.3257, allocations: 164.7 kB / 398.3 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.3261, allocations: 142.8 kB / 398.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.3262, allocations: 51.44 kB / 398.5 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.3264, allocations: 88.42 kB / 398.6 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.3264, allocations: 40.08 kB / 398.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3264, allocations: 0 / 398.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004394/0.3269, allocations: 145.3 kB / 398.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.3269, allocations: 77.11 kB / 398.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3271, allocations: 224.1 kB / 399.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.3271, allocations: 31.55 kB / 399.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.3271, allocations: 128.1 kB / 399.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3271, allocations: 24.64 kB / 399.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.3272, allocations: 42.25 kB / 399.3 MB, free: 8.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.3273, allocations: 498.6 kB / 399.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.3273, allocations: 28.56 kB / 399.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/0.3274, allocations: 61.55 kB / 399.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.3276, allocations: 101.1 kB / 400 MB, free: 7.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3276, allocations: 0 / 400 MB, free: 7.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002979/0.3279, allocations: 131.5 kB / 400.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.328, allocations: 9.875 kB / 400.1 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.328, allocations: 4.062 kB / 400.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.328, allocations: 4.234 kB / 400.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3281, allocations: 25.28 kB / 400.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3281, allocations: 0 / 400.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.3283, allocations: 10.81 kB / 400.1 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.3283, allocations: 9.859 kB / 400.1 MB, free: 7.496 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 5.448e-05/0.3284, allocations: 166.9 kB / 400.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.3284, allocations: 10.88 kB / 400.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.3288, allocations: 199.1 kB / 400.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3288, allocations: 2.938 kB / 400.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3288, allocations: 0 / 400.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3288, allocations: 3.984 kB / 400.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3289, allocations: 148.8 kB / 400.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3289, allocations: 0 / 400.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3291, allocations: 21.88 kB / 400.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3291, allocations: 0 / 400.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3291, allocations: 3.344 kB / 400.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3291, allocations: 3.938 kB / 400.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3291, allocations: 4 kB / 400.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.3295, allocations: 194.9 kB / 400.9 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.3295, allocations: 43.75 kB / 400.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.3296, allocations: 6.5 kB / 400.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3297, allocations: 7.922 kB / 400.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3298, allocations: 7.391 kB / 401 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3298, allocations: 2.562 kB / 401 MB, free: 6.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3299, allocations: 195.3 kB / 401.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3299, allocations: 0 / 401.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000496/0.3304, allocations: 174.6 kB / 401.3 MB, free: 6.738 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.0007745/0.3312, allocations: 415 kB / 401.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.3314, allocations: 88.08 kB / 401.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3314, allocations: 2.562 kB / 401.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3315, allocations: 46.27 kB / 401.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3318, allocations: 41.88 kB / 401.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.3322, allocations: 267.5 kB / 402.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.3323, allocations: 71.25 kB / 402.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.3327, allocations: 433 kB / 402.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3328, allocations: 38.36 kB / 402.7 MB, free: 5.988 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3328, allocations: 0 / 402.7 MB, free: 5.988 MB / 330.7 MB Notification: Performance of Templates: time 0.009616/0.3424, allocations: 6.577 MB / 409.3 MB, free: 2.531 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.720710881985724]