Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.0009345/0.0009345, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009777/0.0009777, allocations: 171.2 kB / 24.92 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 177.1 MB / 205.3 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273.4 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.3e-05, allocations: 6.25 kB / 273.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001506/0.001519, allocations: 1.398 MB / 274.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.005037, allocations: 4.061 MB / 278.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.005066, allocations: 0 / 278.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.005084, allocations: 3.984 kB / 278.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.00591, allocations: 298.7 kB / 279.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.006683, allocations: 0.5289 MB / 279.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.006756, allocations: 59.64 kB / 279.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.923e-05/0.006785, allocations: 4 kB / 279.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005559/0.007341, allocations: 435.1 kB / 280.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.248e-05/0.007373, allocations: 19.97 kB / 280.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.007382, allocations: 0 / 280.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.007981, allocations: 0.5456 MB / 280.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.007993, allocations: 4 kB / 280.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.008014, allocations: 19.92 kB / 280.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.008515, allocations: 494.6 kB / 281.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.008516, allocations: 4 kB / 281.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.008517, allocations: 0 / 281.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.008522, allocations: 4 kB / 281.3 MB, free: 12.57 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.0003253/0.008847, allocations: 332 kB / 281.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.008877, allocations: 12.02 kB / 281.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.008904, allocations: 4.938 kB / 281.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.009003, allocations: 133.6 kB / 281.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.009015, allocations: 384 / 281.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.009033, allocations: 8.375 kB / 281.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.353e-05/0.009126, allocations: 72.41 kB / 281.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.009133, allocations: 4 kB / 281.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.00914, allocations: 4 kB / 281.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.009145, allocations: 0 / 281.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.009168, allocations: 15.92 kB / 281.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.755e-05/0.009256, allocations: 65.91 kB / 281.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.009402, allocations: 69.2 kB / 282 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.009418, allocations: 13.72 kB / 282 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.009629, allocations: 135.9 kB / 282.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.009649, allocations: 34.5 kB / 282.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.009651, allocations: 4 kB / 282.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001047/0.009755, allocations: 69.88 kB / 282.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.00979, allocations: 81.05 kB / 282.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.009845, allocations: 114.7 kB / 282.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.009858, allocations: 25.7 kB / 282.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.009879, allocations: 80.14 kB / 282.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.009909, allocations: 35.72 kB / 282.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.009933, allocations: 13.72 kB / 282.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.01, allocations: 322.8 kB / 282.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.01001, allocations: 4 kB / 282.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.01004, allocations: 39.42 kB / 283 MB, free: 10.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.01008, allocations: 51.38 kB / 283 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01008, allocations: 0 / 283 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.92e-05/0.01014, allocations: 61.55 kB / 283.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.01015, allocations: 8 kB / 283.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01016, allocations: 0 / 283.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01017, allocations: 4 kB / 283.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.775e-05/0.01021, allocations: 19.98 kB / 283.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.01021, allocations: 4 kB / 283.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.01023, allocations: 4 kB / 283.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.01024, allocations: 7.984 kB / 283.1 MB, free: 10.54 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 4.845e-05/0.01029, allocations: 109.8 kB / 283.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.0103, allocations: 8 kB / 283.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.01042, allocations: 95.66 kB / 283.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01043, allocations: 4 kB / 283.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01043, allocations: 7.938 kB / 283.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01043, allocations: 3.984 kB / 283.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.707e-05/0.0105, allocations: 88.61 kB / 283.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.0105, allocations: 0 / 283.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.01054, allocations: 11.98 kB / 283.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.01054, allocations: 0 / 283.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.01055, allocations: 4 kB / 283.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.01055, allocations: 0 / 283.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01055, allocations: 4 kB / 283.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.01065, allocations: 111.5 kB / 283.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.01067, allocations: 12.03 kB / 283.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.01068, allocations: 3.984 kB / 283.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.01069, allocations: 7.938 kB / 283.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.01072, allocations: 3.984 kB / 283.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.01073, allocations: 11.94 kB / 283.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.382e-05/0.01074, allocations: 16.84 kB / 283.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01074, allocations: 0 / 283.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.01098, allocations: 135.5 kB / 283.7 MB, free: 9.859 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.0003142/0.0113, allocations: 279.7 kB / 284 MB, free: 9.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.865e-05/0.01136, allocations: 36.78 kB / 284 MB, free: 9.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01137, allocations: 4.125 kB / 284 MB, free: 9.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.0114, allocations: 28.77 kB / 284.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.57e-05/0.01148, allocations: 8.781 kB / 284.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.01193, allocations: 252 kB / 284.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.01196, allocations: 63.3 kB / 284.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.467e-05/0.012, allocations: 30.66 kB / 284.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.01206, allocations: 67.36 kB / 284.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01206, allocations: 0 / 284.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of Templates: time 0.004524/0.01658, allocations: 3.72 MB / 288.2 MB, free: 5.387 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6386407115496695]