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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.000919/0.0009192, allocations: 95.08 kB / 16.94 MB, free: 6.441 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.000955/0.000955, allocations: 184.6 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004495, allocations: 11.28 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08837, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001236/0.08966, allocations: 1.045 MB / 329.4 MB, free: 3.043 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006257/0.09593, allocations: 5.523 MB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.09599, allocations: 0 / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.09602, allocations: 3.938 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008083/0.09683, allocations: 231.3 kB / 335.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.09791, allocations: 0.5144 MB / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.09798, allocations: 39.94 kB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.09803, allocations: 0 / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.09814, allocations: 39.89 kB / 335.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.09884, allocations: 375.5 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.09887, allocations: 3.984 kB / 336.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.09976, allocations: 0.5421 MB / 336.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.09979, allocations: 8 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.09982, allocations: 29.7 kB / 336.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.1003, allocations: 319.7 kB / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1004, allocations: 0 / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1004, allocations: 0 / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1004, allocations: 8 kB / 337 MB, free: 11.39 MB / 286.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.0005115/0.1009, allocations: 447 kB / 337.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1009, allocations: 12.03 kB / 337.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.101, allocations: 3.906 kB / 337.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.1012, allocations: 186.9 kB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1012, allocations: 4 kB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1012, allocations: 4 kB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1014, allocations: 63.39 kB / 337.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1014, allocations: 0 / 337.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1014, allocations: 0 / 337.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1014, allocations: 0 / 337.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.1015, allocations: 23.92 kB / 337.7 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1017, allocations: 182.5 kB / 337.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.102, allocations: 81.22 kB / 338 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.1031, allocations: 1.532 MB / 339.5 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1031, allocations: 30.56 kB / 339.5 MB, free: 8.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1031, allocations: 0 / 339.5 MB, free: 8.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002711/0.1034, allocations: 89.88 kB / 339.6 MB, free: 8.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.1034, allocations: 77.11 kB / 339.7 MB, free: 8.121 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.1035, allocations: 113.8 kB / 339.8 MB, free: 8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1035, allocations: 25.7 kB / 339.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.1036, allocations: 84.14 kB / 339.9 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.1036, allocations: 19.7 kB / 339.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.1037, allocations: 4 kB / 339.9 MB, free: 7.859 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1038, allocations: 314.8 kB / 340.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.1038, allocations: 15.98 kB / 340.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.1039, allocations: 51.28 kB / 340.3 MB, free: 7.465 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.104, allocations: 19.89 kB / 340.3 MB, free: 7.445 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.104, allocations: 7.984 kB / 340.3 MB, free: 7.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001688/0.1042, allocations: 81.55 kB / 340.4 MB, free: 7.352 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1042, allocations: 8 kB / 340.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1042, allocations: 0 / 340.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1042, allocations: 0 / 340.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.1043, allocations: 19.92 kB / 340.4 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1043, allocations: 4.469 kB / 340.4 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.1044, allocations: 3.938 kB / 340.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1044, allocations: 8 kB / 340.5 MB, free: 7.309 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.1045, allocations: 113.8 kB / 340.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1045, allocations: 8.031 kB / 340.6 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.1048, allocations: 129.3 kB / 340.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1048, allocations: 0 / 340.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1048, allocations: 0 / 340.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1048, allocations: 4 kB / 340.7 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.105, allocations: 169.6 kB / 340.9 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.105, allocations: 11.95 kB / 340.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/0.1051, allocations: 11.94 kB / 340.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1051, allocations: 0 / 340.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1051, allocations: 11.98 kB / 340.9 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1051, allocations: 0 / 340.9 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1051, allocations: 0 / 340.9 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.1054, allocations: 159.5 kB / 341.1 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.1055, allocations: 93.11 kB / 341.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1055, allocations: 0 / 341.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.1055, allocations: 0 / 341.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1056, allocations: 11.92 kB / 341.2 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1056, allocations: 4 kB / 341.2 MB, free: 6.488 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.156e-05/0.1057, allocations: 87.28 kB / 341.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1057, allocations: 0 / 341.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.1061, allocations: 171.8 kB / 341.4 MB, free: 6.234 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006553/0.1068, allocations: 369.9 kB / 341.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.107, allocations: 47.91 kB / 341.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.107, allocations: 0 / 341.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.1071, allocations: 32.05 kB / 341.9 MB, free: 5.793 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1072, allocations: 11.95 kB / 341.9 MB, free: 5.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.1078, allocations: 353.7 kB / 342.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.108, allocations: 0.6926 MB / 342.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.1081, allocations: 31.69 kB / 342.9 MB, free: 4.656 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1081, allocations: 23.42 kB / 343 MB, free: 4.633 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1081, allocations: 0 / 343 MB, free: 4.633 MB / 286.1 MB Notification: Performance of Templates: time 0.006945/0.1151, allocations: 3.646 MB / 346.6 MB, free: 0.9844 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches