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.001867/0.001867, allocations: 96.31 kB / 21.73 MB, free: 2.676 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.002265/0.002265, allocations: 160.4 kB / 25.02 MB, free: 9.434 MB / 18.57 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 1.385/1.385, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 3.938 kB / 250.4 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.507e-05, allocations: 2.312 kB / 250.4 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002797/0.002833, allocations: 1.345 MB / 251.7 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.0131, allocations: 6.506 MB / 258.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.01313, allocations: 0 / 258.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.01316, allocations: 0 / 258.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.01435, allocations: 306.6 kB / 258.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.01623, allocations: 0.7121 MB / 259.2 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.01637, allocations: 71.58 kB / 259.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.01641, allocations: 4 kB / 259.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.01656, allocations: 43.89 kB / 259.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007715/0.01733, allocations: 359.3 kB / 259.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.01734, allocations: 0 / 259.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.01873, allocations: 0.7287 MB / 260.4 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.01874, allocations: 11.98 kB / 260.4 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.01878, allocations: 11.94 kB / 260.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.0198, allocations: 0.6194 MB / 261.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.0198, allocations: 0 / 261.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0198, allocations: 0 / 261.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.01981, allocations: 0 / 261.1 MB, free: 9.191 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.0006381/0.02044, allocations: 405 kB / 261.5 MB, free: 8.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.02048, allocations: 11.98 kB / 261.5 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.02053, allocations: 8.938 kB / 261.5 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.02076, allocations: 129.7 kB / 261.6 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.02077, allocations: 384 / 261.6 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.0208, allocations: 8.375 kB / 261.6 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.02096, allocations: 59.95 kB / 261.7 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.02097, allocations: 192 / 261.7 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.02099, allocations: 4.125 kB / 261.7 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.02099, allocations: 0 / 261.7 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.02108, allocations: 23.92 kB / 261.7 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.02126, allocations: 118.2 kB / 261.8 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.02156, allocations: 85.12 kB / 261.9 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.02165, allocations: 25.77 kB / 261.9 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/0.02205, allocations: 119.9 kB / 262 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.02209, allocations: 34.56 kB / 262.1 MB, free: 8.047 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.02209, allocations: 4 kB / 262.1 MB, free: 8.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003334/0.02242, allocations: 89.53 kB / 262.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.0225, allocations: 85.03 kB / 262.2 MB, free: 7.848 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.02264, allocations: 113.8 kB / 262.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.02267, allocations: 25.7 kB / 262.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.02272, allocations: 84.14 kB / 262.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.02277, allocations: 23.84 kB / 262.5 MB, free: 7.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.02282, allocations: 25.7 kB / 262.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.023, allocations: 314.8 kB / 262.8 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.02306, allocations: 11.98 kB / 262.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.02315, allocations: 43.36 kB / 262.9 MB, free: 7.172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.02329, allocations: 55.42 kB / 262.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0233, allocations: 0 / 262.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002449/0.02354, allocations: 97.48 kB / 263 MB, free: 7.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.02356, allocations: 7.938 kB / 263 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.02356, allocations: 0 / 263 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.02358, allocations: 4 kB / 263 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.02366, allocations: 19.94 kB / 263.1 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.02367, allocations: 3.984 kB / 263.1 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.02372, allocations: 12 kB / 263.1 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.02374, allocations: 4 kB / 263.1 MB, free: 6.953 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 0.0001051/0.02384, allocations: 113.8 kB / 263.2 MB, free: 6.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.02387, allocations: 7.953 kB / 263.2 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.02428, allocations: 124 kB / 263.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.02429, allocations: 4 kB / 263.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.0243, allocations: 3.938 kB / 263.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.0243, allocations: 3.984 kB / 263.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.02446, allocations: 117.3 kB / 263.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.02447, allocations: 0 / 263.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.02455, allocations: 12 kB / 263.4 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.02456, allocations: 4 kB / 263.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.02457, allocations: 0 / 263.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.02457, allocations: 0 / 263.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.02457, allocations: 8.484 kB / 263.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.02492, allocations: 145.8 kB / 263.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.02496, allocations: 19.91 kB / 263.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.02498, allocations: 4 kB / 263.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.02502, allocations: 4.062 kB / 263.6 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.02508, allocations: 15.91 kB / 263.6 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.02509, allocations: 0 / 263.6 MB, free: 6.316 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.581e-05/0.02515, allocations: 91.81 kB / 263.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02515, allocations: 0 / 263.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007814/0.02593, allocations: 175.5 kB / 263.9 MB, free: 6.055 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.0009475/0.02688, allocations: 400.2 kB / 264.3 MB, free: 5.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.0271, allocations: 51.91 kB / 264.3 MB, free: 5.609 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0271, allocations: 0 / 264.3 MB, free: 5.609 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.02719, allocations: 27.97 kB / 264.4 MB, free: 5.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.02742, allocations: 15.94 kB / 264.4 MB, free: 5.566 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.02794, allocations: 236.8 kB / 264.6 MB, free: 5.309 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.02804, allocations: 75.33 kB / 264.7 MB, free: 5.215 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.02e-05/0.02813, allocations: 25.78 kB / 264.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.02817, allocations: 20.48 kB / 264.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of SimCode: time 3.8e-07/0.02817, allocations: 0 / 264.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of Templates: time 0.008997/0.03717, allocations: 3.877 MB / 268.6 MB, free: 1.301 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.247245513019152]