Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.0008703/0.0008704, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.0008567/0.0008568, allocations: 181 kB / 17.2 MB, free: 5.914 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.256/1.256, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002265/0.0002265, allocations: 10.09 kB / 300.7 MB, free: 5.926 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08181/0.08205, allocations: 50.43 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001423/0.08352, allocations: 1.046 MB / 352.2 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2893/0.3729, allocations: 125.7 MB / 477.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3729, allocations: 4 kB / 477.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.373, allocations: 3.938 kB / 477.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.3737, allocations: 197.6 kB / 478.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.3744, allocations: 282.1 kB / 478.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.3744, allocations: 35.95 kB / 478.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.3745, allocations: 5.016 kB / 478.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.3745, allocations: 23.17 kB / 478.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.3746, allocations: 27 kB / 478.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3746, allocations: 2.875 kB / 478.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008696/0.3755, allocations: 494.4 kB / 479 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3755, allocations: 16.84 kB / 479 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3756, allocations: 30.8 kB / 479 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.376, allocations: 277.9 kB / 479.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.376, allocations: 0 / 479.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.376, allocations: 0 / 479.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.376, allocations: 0 / 479.3 MB, free: 10.27 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.0004238/0.3764, allocations: 417.4 kB / 479.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3765, allocations: 9.906 kB / 479.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3775, allocations: 98.25 kB / 479.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3777, allocations: 212.2 kB / 480 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3778, allocations: 6.844 kB / 480 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3778, allocations: 4.594 kB / 480 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.378, allocations: 89.2 kB / 480.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.378, allocations: 0 / 480.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.378, allocations: 3.953 kB / 480.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.378, allocations: 0 / 480.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3782, allocations: 48.48 kB / 480.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.3784, allocations: 213.7 kB / 480.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.3789, allocations: 123.8 kB / 480.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005341/0.3794, allocations: 0.9733 MB / 481.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3794, allocations: 34.56 kB / 481.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3795, allocations: 0 / 481.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.00043/0.3799, allocations: 142.4 kB / 481.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3799, allocations: 79.83 kB / 481.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.3801, allocations: 155.6 kB / 481.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3802, allocations: 29.14 kB / 481.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.3802, allocations: 83.05 kB / 482 MB, free: 7.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3802, allocations: 25.31 kB / 482 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.3803, allocations: 2.875 kB / 482 MB, free: 7.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.3804, allocations: 320.4 kB / 482.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.3805, allocations: 23.39 kB / 482.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3806, allocations: 51.06 kB / 482.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3807, allocations: 41.19 kB / 482.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3807, allocations: 0 / 482.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002871/0.381, allocations: 117.8 kB / 482.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.381, allocations: 4.438 kB / 482.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.381, allocations: 2.875 kB / 482.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.381, allocations: 0 / 482.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3812, allocations: 23.78 kB / 482.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3812, allocations: 8.016 kB / 482.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3814, allocations: 11.8 kB / 482.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.3814, allocations: 11.56 kB / 482.6 MB, free: 7.148 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.3815, allocations: 115.4 kB / 482.7 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3815, allocations: 5.562 kB / 482.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.382, allocations: 235.1 kB / 482.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3821, allocations: 1.938 kB / 482.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3821, allocations: 0 / 482.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3821, allocations: 10.88 kB / 482.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3823, allocations: 214.5 kB / 483.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3823, allocations: 2.875 kB / 483.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.3825, allocations: 22.97 kB / 483.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3825, allocations: 6.812 kB / 483.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3825, allocations: 3.984 kB / 483.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3825, allocations: 2.656 kB / 483.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3825, allocations: 0 / 483.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.3829, allocations: 191.2 kB / 483.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.383, allocations: 98.97 kB / 483.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.383, allocations: 3.062 kB / 483.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3832, allocations: 6.578 kB / 483.5 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3833, allocations: 14.12 kB / 483.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3833, allocations: 2.844 kB / 483.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.3834, allocations: 132.1 kB / 483.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3834, allocations: 0 / 483.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.3839, allocations: 123.4 kB / 483.8 MB, free: 6.348 MB / 366.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 (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.0006036/0.3845, allocations: 319.5 kB / 484.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3847, allocations: 73.19 kB / 484.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3848, allocations: 0 / 484.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3849, allocations: 44.81 kB / 484.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.385, allocations: 13.72 kB / 484.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.3856, allocations: 362.4 kB / 484.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3858, allocations: 0.6915 MB / 485.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005379/0.3863, allocations: 429.9 kB / 485.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3865, allocations: 39.77 kB / 485.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3865, allocations: 2.875 kB / 485.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of Templates: time 0.007863/0.3943, allocations: 4.978 MB / 490.7 MB, free: 2.359 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches