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.0009409/0.0009409, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009934/0.0009934, allocations: 169.9 kB / 24.82 MB, free: 9.312 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.9868/0.9868, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.753e-06/1.753e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.119e-05, allocations: 6.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001627/0.001648, allocations: 1.392 MB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.00539, allocations: 4.017 MB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.005428, allocations: 0 / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.005448, allocations: 3.938 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009011/0.006349, allocations: 302.7 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.007192, allocations: 0.529 MB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.81e-05/0.00727, allocations: 51.67 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.952e-05/0.0073, allocations: 4 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.00791, allocations: 463 kB / 280.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.007947, allocations: 15.98 kB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.007958, allocations: 0 / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006217/0.00858, allocations: 0.5455 MB / 280.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.008595, allocations: 15.97 kB / 280.7 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.008616, allocations: 11.94 kB / 280.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.009161, allocations: 490.7 kB / 281.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.009163, allocations: 4 kB / 281.2 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.009164, allocations: 0 / 281.2 MB, free: 9.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.009169, allocations: 0 / 281.2 MB, free: 9.453 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.0003773/0.009546, allocations: 471.5 kB / 281.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.009581, allocations: 12.03 kB / 281.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.009607, allocations: 12.94 kB / 281.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.36e-05/0.009701, allocations: 128.5 kB / 281.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.009713, allocations: 4.375 kB / 281.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.009725, allocations: 384 / 281.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.009831, allocations: 86 kB / 281.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.009838, allocations: 4 kB / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.009844, allocations: 0 / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.009848, allocations: 0 / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.009873, allocations: 11.98 kB / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.01001, allocations: 112.9 kB / 282 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.01019, allocations: 86.19 kB / 282.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.01022, allocations: 23.42 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.01048, allocations: 145.4 kB / 282.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.01051, allocations: 41.33 kB / 282.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01051, allocations: 4 kB / 282.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001462/0.01065, allocations: 77.81 kB / 282.4 MB, free: 8.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.01069, allocations: 77.11 kB / 282.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.01077, allocations: 173.9 kB / 282.6 MB, free: 7.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.01078, allocations: 25.7 kB / 282.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.01084, allocations: 130.9 kB / 282.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.01087, allocations: 23.8 kB / 282.8 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.0109, allocations: 27.34 kB / 282.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01105, allocations: 0.4923 MB / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.01106, allocations: 7.984 kB / 283.3 MB, free: 7.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.0111, allocations: 42.75 kB / 283.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.01116, allocations: 54.67 kB / 283.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01116, allocations: 0 / 283.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.843e-05/0.01125, allocations: 77.5 kB / 283.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.01126, allocations: 6.812 kB / 283.5 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01127, allocations: 7.938 kB / 283.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01128, allocations: 3.938 kB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/0.01132, allocations: 20.05 kB / 283.6 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01133, allocations: 0 / 283.6 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/0.01135, allocations: 8 kB / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01136, allocations: 4 kB / 283.6 MB, free: 6.836 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 7.649e-05/0.01144, allocations: 156.6 kB / 283.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.01145, allocations: 7.953 kB / 283.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.01161, allocations: 120.4 kB / 283.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.01162, allocations: 3.938 kB / 283.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01162, allocations: 8 kB / 283.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01163, allocations: 0 / 283.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.09e-05/0.01171, allocations: 105.2 kB / 284 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01171, allocations: 0 / 284 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.01175, allocations: 11.98 kB / 284 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01175, allocations: 4 kB / 284 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.01176, allocations: 0 / 284 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01176, allocations: 0 / 284 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01176, allocations: 0 / 284 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.01188, allocations: 127.9 kB / 284.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.0119, allocations: 15.97 kB / 284.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.01191, allocations: 8 kB / 284.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.01193, allocations: 3.984 kB / 284.1 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.01196, allocations: 8.172 kB / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.01197, allocations: 7.984 kB / 284.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.012, allocations: 131.2 kB / 284.3 MB, free: 6.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 0 / 284.3 MB, free: 6.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01228, allocations: 135.5 kB / 284.4 MB, free: 5.934 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.0003381/0.01262, allocations: 306.6 kB / 284.7 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.078e-05/0.0127, allocations: 39.59 kB / 284.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.0127, allocations: 4.125 kB / 284.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.652e-05/0.01274, allocations: 27.61 kB / 284.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.01287, allocations: 12.78 kB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.0134, allocations: 261.8 kB / 285 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.01343, allocations: 59.36 kB / 285.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.01349, allocations: 35.39 kB / 285.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.01355, allocations: 90.17 kB / 285.2 MB, free: 5.043 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01355, allocations: 0 / 285.2 MB, free: 5.043 MB / 266.7 MB Notification: Performance of Templates: time 0.005276/0.01883, allocations: 3.758 MB / 289 MB, free: 1.355 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.769919002894312]