Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001585, allocations: 114.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002324/0.002324, allocations: 200.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.53 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08562, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00236/0.08801, allocations: 1.366 MB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004845/0.09287, allocations: 4.042 MB / 364.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.09292, allocations: 0 / 364.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.09295, allocations: 3.938 kB / 364.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008665/0.09384, allocations: 279 kB / 364.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.09487, allocations: 497.4 kB / 365.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.09497, allocations: 59.66 kB / 365.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.977e-05/0.09501, allocations: 0 / 365.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.09512, allocations: 43.83 kB / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.09574, allocations: 367.2 kB / 365.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.09577, allocations: 0 / 365.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.09666, allocations: 0.5959 MB / 366.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.09669, allocations: 15.86 kB / 366.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.09673, allocations: 23.92 kB / 366.2 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.09736, allocations: 451.2 kB / 366.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.09738, allocations: 4 kB / 366.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09738, allocations: 0 / 366.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.09739, allocations: 0 / 366.6 MB, free: 5.598 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.0004651/0.09786, allocations: 443.1 kB / 367 MB, free: 5.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.0979, allocations: 8.031 kB / 367 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.09794, allocations: 4.938 kB / 367.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.09812, allocations: 184.3 kB / 367.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.09815, allocations: 384 / 367.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.09818, allocations: 15.88 kB / 367.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.09832, allocations: 63.39 kB / 367.3 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.09834, allocations: 0 / 367.3 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.09835, allocations: 0 / 367.3 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.09836, allocations: 0 / 367.3 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.09844, allocations: 19.98 kB / 367.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.09862, allocations: 178.5 kB / 367.5 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.09889, allocations: 81.06 kB / 367.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.09896, allocations: 25.77 kB / 367.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009606/0.09993, allocations: 1.54 MB / 369.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.09997, allocations: 46.5 kB / 369.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.09998, allocations: 0 / 369.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002787/0.1003, allocations: 85.5 kB / 369.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1003, allocations: 81.09 kB / 369.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.1004, allocations: 109.8 kB / 369.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1004, allocations: 33.64 kB / 369.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.1005, allocations: 80.14 kB / 369.6 MB, free: 2.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1005, allocations: 23.72 kB / 369.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.1006, allocations: 21.7 kB / 369.6 MB, free: 2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1007, allocations: 318.8 kB / 369.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.1007, allocations: 11.98 kB / 369.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.1008, allocations: 35.42 kB / 370 MB, free: 1.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1009, allocations: 59.73 kB / 370 MB, free: 1.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.101, allocations: 4 kB / 370 MB, free: 1.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002893/0.1012, allocations: 97.42 kB / 370.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1013, allocations: 7.938 kB / 370.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1013, allocations: 0 / 370.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1013, allocations: 4 kB / 370.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1014, allocations: 16.06 kB / 370.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1014, allocations: 3.984 kB / 370.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.1015, allocations: 7.938 kB / 370.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1016, allocations: 0 / 370.2 MB, free: 1.406 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 0.0001006/0.1017, allocations: 121.7 kB / 370.3 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1017, allocations: 4 kB / 370.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.1022, allocations: 129.1 kB / 370.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1023, allocations: 4 kB / 370.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1023, allocations: 0 / 370.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.1023, allocations: 3.984 kB / 370.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1025, allocations: 169.6 kB / 370.6 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1025, allocations: 0 / 370.6 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1026, allocations: 15.98 kB / 370.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.1027, allocations: 4 kB / 370.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1027, allocations: 0 / 370.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1027, allocations: 4 kB / 370.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1027, allocations: 0 / 370.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.1031, allocations: 150.2 kB / 370.8 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.1032, allocations: 89.12 kB / 370.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1032, allocations: 3.938 kB / 370.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.1033, allocations: 4 kB / 370.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.1034, allocations: 12.05 kB / 370.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1034, allocations: 4 kB / 370.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.531e-05/0.1035, allocations: 99.27 kB / 371 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1035, allocations: 0 / 371 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005057/0.104, allocations: 135.9 kB / 371.1 MB, free: 380 kB / 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.0007116/0.1047, allocations: 282.2 kB / 371.4 MB, free: 96 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.105, allocations: 51.91 kB / 371.4 MB, free: 44 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.105, allocations: 0 / 371.4 MB, free: 44 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1052, allocations: 31.92 kB / 371.5 MB, free: 12 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1636/0.2688, allocations: 13.78 kB / 371.5 MB, free: 21.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.2694, allocations: 288.4 kB / 371.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.2695, allocations: 0.6868 MB / 372.4 MB, free: 20.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.172e-05/0.2696, allocations: 30.02 kB / 372.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2696, allocations: 24.83 kB / 372.5 MB, free: 20.41 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2696, allocations: 2.719 kB / 372.5 MB, free: 20.41 MB / 302.1 MB Notification: Performance of Templates: time 0.006645/0.2763, allocations: 3.036 MB / 375.5 MB, free: 20.05 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches