Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 96.39 kB / 17.3 MB, free: 6.391 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.001421/0.001421, allocations: 177.5 kB / 18.21 MB, free: 5.551 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.304/1.304, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004231/0.0004232, allocations: 8.469 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08302/0.08345, allocations: 47.58 MB / 328.9 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001359/0.08485, allocations: 1.085 MB / 330 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2944/0.3793, allocations: 146.5 MB / 476.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.3793, allocations: 0 / 476.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.3794, allocations: 3.984 kB / 476.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.3801, allocations: 203 kB / 476.8 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3813, allocations: 0.5282 MB / 477.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.3814, allocations: 63.64 kB / 477.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.3815, allocations: 4 kB / 477.3 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.3815, allocations: 19.94 kB / 477.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.3816, allocations: 35.83 kB / 477.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3816, allocations: 4 kB / 477.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.3828, allocations: 0.7925 MB / 478.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.3829, allocations: 0 / 478.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.3829, allocations: 57.55 kB / 478.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000795/0.3837, allocations: 0.6081 MB / 478.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3837, allocations: 0 / 478.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3838, allocations: 8 kB / 478.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.3838, allocations: 0 / 478.9 MB, free: 4.055 MB / 366.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.0005152/0.3843, allocations: 435.9 kB / 479.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3843, allocations: 8.031 kB / 479.3 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.3854, allocations: 96.7 kB / 479.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3857, allocations: 220.5 kB / 479.6 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3857, allocations: 7.938 kB / 479.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.3857, allocations: 5.312 kB / 479.6 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3859, allocations: 91.27 kB / 479.7 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.386, allocations: 0 / 479.7 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.386, allocations: 0 / 479.7 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.386, allocations: 7.938 kB / 479.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3862, allocations: 43.94 kB / 479.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.3864, allocations: 219.5 kB / 480 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3869, allocations: 125.1 kB / 480.1 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.387, allocations: 41.69 kB / 480.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/0.3876, allocations: 0.9823 MB / 481.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3877, allocations: 38.48 kB / 481.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3877, allocations: 4 kB / 481.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004603/0.3881, allocations: 125.9 kB / 481.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3882, allocations: 81.05 kB / 481.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3884, allocations: 158.5 kB / 481.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3885, allocations: 25.7 kB / 481.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.3885, allocations: 88.14 kB / 481.6 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.3885, allocations: 23.64 kB / 481.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.3886, allocations: 13.72 kB / 481.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3887, allocations: 318.8 kB / 482 MB, free: 488 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3888, allocations: 23.98 kB / 482 MB, free: 464 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.3889, allocations: 55.41 kB / 482.1 MB, free: 396 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.3891, allocations: 91.36 kB / 482.2 MB, free: 292 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3892, allocations: 3.938 kB / 482.2 MB, free: 288 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003098/0.3895, allocations: 121.5 kB / 482.3 MB, free: 160 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3895, allocations: 4 kB / 482.3 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3895, allocations: 4 kB / 482.3 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3895, allocations: 0 / 482.3 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.3897, allocations: 27.91 kB / 482.3 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3897, allocations: 4.453 kB / 482.3 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3899, allocations: 9.188 kB / 482.3 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.3899, allocations: 7.984 kB / 482.3 MB, free: 104 kB / 366.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.0001024/0.39, allocations: 121.8 kB / 482.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3901, allocations: 7.906 kB / 482.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005515/0.3906, allocations: 235.2 kB / 482.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3906, allocations: 3.984 kB / 482.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3906, allocations: 4 kB / 482.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3907, allocations: 0 / 482.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.3909, allocations: 216.2 kB / 482.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3909, allocations: 3.938 kB / 482.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.3911, allocations: 23.97 kB / 482.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3911, allocations: 4 kB / 482.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3911, allocations: 4.047 kB / 482.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3911, allocations: 4 kB / 482.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3911, allocations: 4 kB / 482.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.3915, allocations: 181.7 kB / 483.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.3916, allocations: 97.03 kB / 483.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.3917, allocations: 0 / 483.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3918, allocations: 7.984 kB / 483.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3919, allocations: 7.984 kB / 483.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.3919, allocations: 0 / 483.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3921, allocations: 147.3 kB / 483.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3921, allocations: 0 / 483.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.3926, allocations: 167.9 kB / 483.5 MB, free: 14.79 MB / 382.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 (8): * Single equations (assignments): 7 * 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.000786/0.3934, allocations: 383.6 kB / 483.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.3937, allocations: 75.81 kB / 484 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3937, allocations: 0 / 484 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3938, allocations: 39.98 kB / 484 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.3941, allocations: 22.67 kB / 484.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.3946, allocations: 356.3 kB / 484.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.395, allocations: 0.6887 MB / 485.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.3956, allocations: 427 kB / 485.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3957, allocations: 39.39 kB / 485.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3957, allocations: 4 kB / 485.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01038/0.4061, allocations: 5.955 MB / 491.5 MB, free: 6.762 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches