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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 112.8 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009975/0.0009976, allocations: 50.08 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.0922, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00225/0.09449, allocations: 1.353 MB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.09904, allocations: 3.987 MB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.09909, allocations: 0 / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.09912, allocations: 7.922 kB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009084/0.1, allocations: 283 kB / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009901/0.1011, allocations: 496 kB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.1012, allocations: 59.7 kB / 357.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.1012, allocations: 4 kB / 357.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1013, allocations: 39.84 kB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/0.102, allocations: 359.2 kB / 358 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.102, allocations: 0 / 358 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.1029, allocations: 0.5927 MB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.1029, allocations: 15.92 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.103, allocations: 15.92 kB / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.1036, allocations: 459 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1036, allocations: 0 / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1036, allocations: 0 / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1036, allocations: 0 / 359.1 MB, free: 12.02 MB / 302.1 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.000467/0.1041, allocations: 443.1 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1041, allocations: 8.031 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.1042, allocations: 8.938 kB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1044, allocations: 188.2 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1044, allocations: 4.375 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1044, allocations: 11.94 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1045, allocations: 63.33 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1046, allocations: 0 / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.1046, allocations: 0 / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1046, allocations: 0 / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.1047, allocations: 27.92 kB / 359.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.1048, allocations: 174.5 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1051, allocations: 81.06 kB / 360.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.1052, allocations: 29.77 kB / 360.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009344/0.1061, allocations: 1.536 MB / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1062, allocations: 34.55 kB / 361.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1062, allocations: 0 / 361.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002644/0.1064, allocations: 85.5 kB / 361.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1065, allocations: 77.11 kB / 361.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.1066, allocations: 121.8 kB / 362 MB, free: 8.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1066, allocations: 25.7 kB / 362 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.1066, allocations: 84.14 kB / 362.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1067, allocations: 19.7 kB / 362.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1067, allocations: 21.7 kB / 362.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.1068, allocations: 318.8 kB / 362.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.1069, allocations: 15.98 kB / 362.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.107, allocations: 39.42 kB / 362.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1071, allocations: 59.73 kB / 362.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1071, allocations: 0 / 362.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001826/0.1073, allocations: 89.58 kB / 362.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1073, allocations: 8 kB / 362.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1073, allocations: 0 / 362.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1073, allocations: 4 kB / 362.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.1074, allocations: 19.92 kB / 362.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1074, allocations: 0 / 362.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.1075, allocations: 11.84 kB / 362.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1075, allocations: 8 kB / 362.7 MB, free: 7.824 MB / 302.1 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 6.156e-05/0.1076, allocations: 117.7 kB / 362.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.1076, allocations: 8 kB / 362.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.1079, allocations: 121 kB / 362.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1079, allocations: 4 kB / 362.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.108, allocations: 0 / 362.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.108, allocations: 0 / 362.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1081, allocations: 177.5 kB / 363.1 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1081, allocations: 0 / 363.1 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.1082, allocations: 19.94 kB / 363.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1082, allocations: 3.938 kB / 363.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1082, allocations: 7.984 kB / 363.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1082, allocations: 0 / 363.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1082, allocations: 4 kB / 363.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.1085, allocations: 137.8 kB / 363.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.1086, allocations: 93.19 kB / 363.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1086, allocations: 0 / 363.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.1086, allocations: 7.938 kB / 363.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1087, allocations: 11.98 kB / 363.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1087, allocations: 0 / 363.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.1087, allocations: 91.27 kB / 363.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1087, allocations: 0 / 363.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.1091, allocations: 127.9 kB / 363.6 MB, free: 6.809 MB / 302.1 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.0005436/0.1097, allocations: 284.6 kB / 363.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1099, allocations: 47.91 kB / 363.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1099, allocations: 3.938 kB / 363.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.11, allocations: 35.91 kB / 364 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.1102, allocations: 19.06 kB / 364 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.1106, allocations: 298.8 kB / 364.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.1108, allocations: 0.6883 MB / 365 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.1109, allocations: 31.72 kB / 365 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.111, allocations: 19.42 kB / 365 MB, free: 5.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.111, allocations: 0 / 365 MB, free: 5.34 MB / 302.1 MB Notification: Performance of Templates: time 0.005911/0.1169, allocations: 3.004 MB / 368 MB, free: 2.363 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches