Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001019/0.001019, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001129/0.002149, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007155/0.0007155, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009133/0.001629, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9262/0.9262, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1586/1.085, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.422e-05, allocations: 6.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002643/0.002667, allocations: 1.437 MB / 223.4 MB, free: 14.62 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008262/0.01093, allocations: 7.144 MB / 230.6 MB, free: 7.445 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.01098, allocations: 4 kB / 230.6 MB, free: 7.441 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.01099, allocations: 3.938 kB / 230.6 MB, free: 7.438 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008462/0.01184, allocations: 282.7 kB / 230.8 MB, free: 7.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.01295, allocations: 0.6691 MB / 231.5 MB, free: 6.488 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.01305, allocations: 59.67 kB / 231.6 MB, free: 6.43 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.01309, allocations: 7.984 kB / 231.6 MB, free: 6.422 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006259/0.01371, allocations: 431.2 kB / 232 MB, free: 6 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.01375, allocations: 15.98 kB / 232 MB, free: 5.984 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.01377, allocations: 4 kB / 232 MB, free: 5.98 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009655/0.01473, allocations: 0.7795 MB / 232.8 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.01475, allocations: 7.938 kB / 232.8 MB, free: 5.191 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.01477, allocations: 12 kB / 232.8 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.01547, allocations: 0.5182 MB / 233.3 MB, free: 4.66 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.01548, allocations: 0 / 233.3 MB, free: 4.66 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01548, allocations: 0 / 233.3 MB, free: 4.66 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.01549, allocations: 0 / 233.3 MB, free: 4.66 MB / 234.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.0004621/0.01595, allocations: 439.2 kB / 233.8 MB, free: 4.207 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.01598, allocations: 11.89 kB / 233.8 MB, free: 4.195 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.01602, allocations: 8.922 kB / 233.8 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.01613, allocations: 125.7 kB / 233.9 MB, free: 4.039 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.01615, allocations: 8.375 kB / 233.9 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.01617, allocations: 4.375 kB / 233.9 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.01628, allocations: 72.64 kB / 234 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.01629, allocations: 192 / 234 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.0163, allocations: 8.125 kB / 234 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.0163, allocations: 4 kB / 234 MB, free: 3.93 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.01633, allocations: 11.92 kB / 234 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.137e-05/0.01642, allocations: 73.86 kB / 234.1 MB, free: 3.828 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.01658, allocations: 69.22 kB / 234.2 MB, free: 3.742 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.0166, allocations: 17.72 kB / 234.2 MB, free: 3.719 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.01684, allocations: 127.9 kB / 234.3 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01686, allocations: 38.5 kB / 234.3 MB, free: 3.547 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.01686, allocations: 0 / 234.3 MB, free: 3.547 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001206/0.01698, allocations: 65.73 kB / 234.4 MB, free: 3.477 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.01701, allocations: 77.11 kB / 234.5 MB, free: 3.383 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.01707, allocations: 122.6 kB / 234.6 MB, free: 3.25 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.01708, allocations: 25.7 kB / 234.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.01711, allocations: 84.12 kB / 234.7 MB, free: 3.133 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.01714, allocations: 35.72 kB / 234.7 MB, free: 3.098 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.01717, allocations: 25.7 kB / 234.8 MB, free: 3.066 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.01724, allocations: 314.8 kB / 235.1 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.01725, allocations: 4 kB / 235.1 MB, free: 2.746 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.01728, allocations: 35.41 kB / 235.1 MB, free: 2.699 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.01732, allocations: 43.36 kB / 235.2 MB, free: 2.645 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01732, allocations: 0 / 235.2 MB, free: 2.645 MB / 234.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.494e-05/0.01739, allocations: 73.55 kB / 235.2 MB, free: 2.566 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.0174, allocations: 4 kB / 235.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.0174, allocations: 0 / 235.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.01742, allocations: 4 kB / 235.2 MB, free: 2.559 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.01747, allocations: 15.98 kB / 235.2 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.01747, allocations: 4 kB / 235.3 MB, free: 2.539 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.01749, allocations: 3.938 kB / 235.3 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.0175, allocations: 4 kB / 235.3 MB, free: 2.531 MB / 234.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.402e-05/0.01755, allocations: 117.8 kB / 235.4 MB, free: 2.406 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.01756, allocations: 3.938 kB / 235.4 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.01772, allocations: 106.4 kB / 235.5 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.01773, allocations: 4 kB / 235.5 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01773, allocations: 0 / 235.5 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01773, allocations: 3.938 kB / 235.5 MB, free: 2.289 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.176e-05/0.01781, allocations: 80.7 kB / 235.6 MB, free: 2.191 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.01781, allocations: 0 / 235.6 MB, free: 2.191 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.01786, allocations: 15.98 kB / 235.6 MB, free: 2.176 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.01789, allocations: 19.88 kB / 235.6 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01789, allocations: 0 / 235.6 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.0179, allocations: 4 kB / 235.6 MB, free: 2.152 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0179, allocations: 0 / 235.6 MB, free: 2.152 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.0179, allocations: 4 kB / 235.6 MB, free: 2.148 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.01802, allocations: 115.9 kB / 235.7 MB, free: 2.012 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.01803, allocations: 4 kB / 235.7 MB, free: 2.008 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.702e-05/0.01805, allocations: 0 / 235.7 MB, free: 2.008 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.01808, allocations: 11.98 kB / 235.7 MB, free: 1.996 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.01808, allocations: 0 / 235.7 MB, free: 1.996 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.603e-05/0.0181, allocations: 12.86 kB / 235.8 MB, free: 1.98 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0181, allocations: 0 / 235.8 MB, free: 1.98 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.01845, allocations: 191.4 kB / 235.9 MB, free: 1.793 MB / 234.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.0006107/0.01906, allocations: 413.9 kB / 236.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.01915, allocations: 40.72 kB / 236.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01915, allocations: 0 / 236.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.01919, allocations: 28.84 kB / 236.4 MB, free: 1.316 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.01932, allocations: 80.3 kB / 236.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.02058, allocations: 210.8 kB / 236.7 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.954e-05/0.02061, allocations: 63.34 kB / 236.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.02066, allocations: 39.62 kB / 236.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.02072, allocations: 71.34 kB / 236.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02072, allocations: 0 / 236.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of Templates: time 0.00578/0.0265, allocations: 4.727 MB / 241.6 MB, free: 12.08 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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/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.600794649682939]