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.0009924/0.0009924, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.00107/0.00107, allocations: 150.1 kB / 24.81 MB, free: 9.285 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.9588/0.9588, allocations: 173.3 MB / 201.4 MB, free: 9.199 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.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.203e-06/1.203e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.481e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001537/0.001551, allocations: 1.382 MB / 269.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.004918, allocations: 3.97 MB / 273.7 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.004951, allocations: 4 kB / 273.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.00497, allocations: 7.922 kB / 273.8 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007969/0.005767, allocations: 298.7 kB / 274.1 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007563/0.006523, allocations: 0.5173 MB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.006594, allocations: 63.64 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.358e-05/0.006617, allocations: 0 / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.007192, allocations: 459.1 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.007225, allocations: 15.98 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.007236, allocations: 4 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.007846, allocations: 0.5455 MB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.007858, allocations: 3.984 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.007877, allocations: 15.94 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.008374, allocations: 486.7 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.008375, allocations: 0 / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008377, allocations: 4 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.008379, allocations: 4 kB / 276.1 MB, free: 14.4 MB / 266.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.0003416/0.008721, allocations: 467.5 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.008751, allocations: 8.031 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.008781, allocations: 12.89 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.008869, allocations: 128.5 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.00888, allocations: 384 / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.008894, allocations: 4.375 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.008991, allocations: 82 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.008997, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.009002, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.009008, allocations: 4 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.009031, allocations: 11.98 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.00914, allocations: 117 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.009283, allocations: 86.09 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.009304, allocations: 23.42 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.009531, allocations: 149.7 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.00955, allocations: 41.33 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.009551, allocations: 0 / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001204/0.009672, allocations: 77.5 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.009698, allocations: 81.09 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.009762, allocations: 169.9 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.009772, allocations: 29.7 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.009805, allocations: 130.9 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.009832, allocations: 23.8 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.009861, allocations: 31.34 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.009964, allocations: 492.1 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.009978, allocations: 11.92 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.01001, allocations: 46.73 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/0.01006, allocations: 62.67 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01006, allocations: 0 / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.44e-05/0.01014, allocations: 66.03 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01015, allocations: 14.59 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01015, allocations: 0 / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.01016, allocations: 3.938 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.0102, allocations: 15.98 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01021, allocations: 4 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.01023, allocations: 8.016 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.01023, allocations: 8 kB / 278.5 MB, free: 11.79 MB / 266.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.477e-05/0.01029, allocations: 160.5 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.0103, allocations: 8.031 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.01045, allocations: 109.3 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01045, allocations: 7.938 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01045, allocations: 0 / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01046, allocations: 0 / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.251e-05/0.01053, allocations: 113.2 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01053, allocations: 0 / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.01057, allocations: 12 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01057, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.01058, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01058, allocations: 7.984 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01058, allocations: 0 / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.0107, allocations: 131.9 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01072, allocations: 11.94 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.01073, allocations: 4 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.01075, allocations: 8.031 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.01077, allocations: 11.92 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.01078, allocations: 4 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.5e-05/0.01081, allocations: 135.7 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01081, allocations: 0 / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.01107, allocations: 131.5 kB / 279.3 MB, free: 10.88 MB / 266.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.0003936/0.01146, allocations: 317.5 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.673e-05/0.01154, allocations: 39.66 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01154, allocations: 4.062 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.01157, allocations: 27.61 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.0117, allocations: 14.81 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.01217, allocations: 261.8 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.55e-05/0.0122, allocations: 55.36 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.01225, allocations: 31.53 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.0123, allocations: 90.17 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0123, allocations: 0 / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of Templates: time 0.004629/0.01693, allocations: 3.709 MB / 283.9 MB, free: 6.344 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.602181190159172]