Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.0007156/0.0007156, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001771, 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.0006314/0.0006314, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009962/0.001628, 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.8267/0.8267, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1508/0.9775, allocations: 52.5 MB / 238.5 MB, free: 7.617 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.525e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001441/0.001457, allocations: 1.427 MB / 241.2 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.00474, allocations: 4.029 MB / 245.2 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.004767, allocations: 0 / 245.2 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.055e-06/0.004775, allocations: 0 / 245.2 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.005429, allocations: 293.6 kB / 245.5 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.00612, allocations: 486.8 kB / 246 MB, free: 144 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.006201, allocations: 64.56 kB / 246 MB, free: 80 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.00623, allocations: 3.984 kB / 246 MB, free: 76 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.006794, allocations: 430.5 kB / 246.4 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.00683, allocations: 23.91 kB / 246.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.00684, allocations: 5.656 kB / 246.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006117/0.007452, allocations: 0.569 MB / 247 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.007467, allocations: 7.938 kB / 247 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.007489, allocations: 16 kB / 247.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.007936, allocations: 422.9 kB / 247.5 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.007946, allocations: 0 / 247.5 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007947, allocations: 4 kB / 247.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.007956, allocations: 0 / 247.5 MB, free: 14.62 MB / 250.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.0003992/0.008355, allocations: 387.6 kB / 247.9 MB, free: 14.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.008386, allocations: 12.03 kB / 247.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.008416, allocations: 8.922 kB / 247.9 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.008518, allocations: 129.5 kB / 248 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.008533, allocations: 4.375 kB / 248 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.008548, allocations: 384 / 248 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.008661, allocations: 84.41 kB / 248.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.008668, allocations: 0 / 248.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.008674, allocations: 0 / 248.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.008678, allocations: 0 / 248.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.008701, allocations: 15.92 kB / 248.1 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.952e-05/0.008781, allocations: 73.89 kB / 248.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.008913, allocations: 57.22 kB / 248.2 MB, free: 13.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.008932, allocations: 21.72 kB / 248.3 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.009141, allocations: 139.8 kB / 248.4 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.009157, allocations: 30.56 kB / 248.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.009158, allocations: 0 / 248.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001302/0.009288, allocations: 61.73 kB / 248.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.009317, allocations: 85.05 kB / 248.6 MB, free: 13.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.009366, allocations: 110.7 kB / 248.7 MB, free: 13.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.009376, allocations: 29.7 kB / 248.7 MB, free: 13.24 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.009395, allocations: 84.14 kB / 248.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.00943, allocations: 27.77 kB / 248.8 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.009455, allocations: 21.72 kB / 248.8 MB, free: 13.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.009518, allocations: 326.8 kB / 249.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.009529, allocations: 4 kB / 249.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.009552, allocations: 35.41 kB / 249.2 MB, free: 12.72 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.009594, allocations: 47.36 kB / 249.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009597, allocations: 0 / 249.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.625e-05/0.009653, allocations: 61.55 kB / 249.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.009663, allocations: 8 kB / 249.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.009666, allocations: 4.062 kB / 249.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.009676, allocations: 0 / 249.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.009878, allocations: 23.92 kB / 249.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.009881, allocations: 0 / 249.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.009913, allocations: 7.953 kB / 249.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.009924, allocations: 7.984 kB / 249.4 MB, free: 12.55 MB / 250.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.79e-05/0.009982, allocations: 113.8 kB / 249.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.009994, allocations: 4 kB / 249.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01015, allocations: 104 kB / 249.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.01016, allocations: 4 kB / 249.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01016, allocations: 3.938 kB / 249.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01016, allocations: 3.984 kB / 249.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.4e-05/0.01023, allocations: 80.72 kB / 249.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.01023, allocations: 0 / 249.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.01028, allocations: 15.98 kB / 249.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.0103, allocations: 15.88 kB / 249.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.0103, allocations: 0 / 249.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.01031, allocations: 4 kB / 249.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01031, allocations: 4 kB / 249.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01031, allocations: 7.938 kB / 249.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.01042, allocations: 112 kB / 249.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.01043, allocations: 4 kB / 249.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.01045, allocations: 4 kB / 249.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.01047, allocations: 3.984 kB / 249.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01048, allocations: 7.938 kB / 249.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.338e-05/0.01049, allocations: 12.86 kB / 249.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01049, allocations: 0 / 249.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01073, allocations: 143.5 kB / 250 MB, free: 11.85 MB / 250.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 (7): * Single equations (assignments): 6 * 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.0004372/0.01117, allocations: 322.3 kB / 250.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.01125, allocations: 40.75 kB / 250.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.01125, allocations: 0 / 250.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.01129, allocations: 32.78 kB / 250.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.01141, allocations: 79.38 kB / 250.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.01263, allocations: 211.9 kB / 250.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.732e-05/0.01265, allocations: 63.36 kB / 250.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.0127, allocations: 33.66 kB / 250.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.01276, allocations: 71.34 kB / 250.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01276, allocations: 0 / 250.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of Templates: time 0.004846/0.0176, allocations: 3.801 MB / 254.6 MB, free: 7.223 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_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.4878205191344023]