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.001284/0.001284, allocations: 101.5 kB / 17.72 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.001189/0.001189, allocations: 188.1 kB / 18.66 MB, free: 4.402 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.284/1.284, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001143/0.001143, allocations: 55.91 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.0811, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002269/0.08341, allocations: 1.353 MB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1595/0.2429, allocations: 7.142 MB / 383.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.243, allocations: 0 / 383.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.2431, allocations: 7.281 kB / 383.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009265/0.244, allocations: 281.3 kB / 383.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2455, allocations: 0.6848 MB / 384.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.451e-05/0.2456, allocations: 55.78 kB / 384.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.2456, allocations: 3.875 kB / 384.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.2457, allocations: 42.25 kB / 384.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000641/0.2463, allocations: 359.2 kB / 385.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2464, allocations: 1.312 kB / 385.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.2475, allocations: 0.8033 MB / 385.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.2475, allocations: 6.922 kB / 385.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.2476, allocations: 23.83 kB / 385.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008453/0.2484, allocations: 0.5514 MB / 386.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2484, allocations: 1.312 kB / 386.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2484, allocations: 0 / 386.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2484, allocations: 11.88 kB / 386.5 MB, free: 8.387 MB / 318.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.0005198/0.249, allocations: 458.8 kB / 386.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.249, allocations: 9.688 kB / 386.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.2491, allocations: 9.484 kB / 386.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.2492, allocations: 183.3 kB / 387.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2492, allocations: 4.188 kB / 387.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.2493, allocations: 3.172 kB / 387.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2494, allocations: 66.97 kB / 387.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2494, allocations: 0 / 387.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.2494, allocations: 5.031 kB / 387.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2495, allocations: 1.156 kB / 387.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.2495, allocations: 23.45 kB / 387.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.2497, allocations: 173.5 kB / 387.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.2499, allocations: 82 kB / 387.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.25, allocations: 24.56 kB / 387.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006271/0.2507, allocations: 1.542 MB / 389 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2507, allocations: 36.28 kB / 389 MB, free: 5.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.2507, allocations: 5.25 kB / 389.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002836/0.251, allocations: 83.08 kB / 389.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.251, allocations: 78.78 kB / 389.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.2511, allocations: 112.1 kB / 389.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.2511, allocations: 25.7 kB / 389.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.706e-05/0.2511, allocations: 85.3 kB / 389.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2511, allocations: 24.52 kB / 389.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2512, allocations: 27.27 kB / 389.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.2512, allocations: 315.5 kB / 389.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.2513, allocations: 13.72 kB / 389.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.2514, allocations: 42.94 kB / 389.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.2515, allocations: 60.66 kB / 389.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2515, allocations: 1.281 kB / 389.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001945/0.2517, allocations: 82.67 kB / 390 MB, free: 4.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2517, allocations: 9.156 kB / 390 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2517, allocations: 2.281 kB / 390 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2517, allocations: 4.812 kB / 390 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.2518, allocations: 14.81 kB / 390 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2518, allocations: 6.125 kB / 390 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.2519, allocations: 10.06 kB / 390 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2519, allocations: 4.188 kB / 390 MB, free: 4.758 MB / 318.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 4.34e-05/0.2519, allocations: 112 kB / 390.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.252, allocations: 15.39 kB / 390.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.2523, allocations: 117.6 kB / 390.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2523, allocations: 5 kB / 390.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2523, allocations: 1.797 kB / 390.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2523, allocations: 0 / 390.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.704e-05/0.2524, allocations: 173.2 kB / 390.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2524, allocations: 4.688 kB / 390.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.2525, allocations: 12.72 kB / 390.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2525, allocations: 5 kB / 390.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2525, allocations: 6.203 kB / 390.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2525, allocations: 1.094 kB / 390.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2525, allocations: 5.062 kB / 390.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.2528, allocations: 143.5 kB / 390.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.2528, allocations: 93.22 kB / 390.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2528, allocations: 2.453 kB / 390.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.2529, allocations: 5.797 kB / 390.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.2529, allocations: 5.844 kB / 390.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.253, allocations: 6.953 kB / 390.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.253, allocations: 90.25 kB / 390.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.253, allocations: 0 / 390.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004665/0.2535, allocations: 175.5 kB / 391 MB, free: 4.016 MB / 318.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.0007364/0.2542, allocations: 367.2 kB / 391.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.2544, allocations: 52.09 kB / 391.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2544, allocations: 0 / 391.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.2545, allocations: 30.34 kB / 391.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.2547, allocations: 13.7 kB / 391.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.2551, allocations: 299.6 kB / 391.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.83e-05/0.2552, allocations: 0.69 MB / 392.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.867e-05/0.2553, allocations: 36.27 kB / 392.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.2553, allocations: 16.64 kB / 392.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2553, allocations: 1.344 kB / 392.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of Templates: time 0.007093/0.2624, allocations: 3.741 MB / 396.2 MB, free: 2.312 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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) 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) Reference file matches