Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001044/0.001044, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.369/1.369, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001085/0.001086, allocations: 47.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09155, allocations: 46.62 MB / 326.8 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002518/0.09411, allocations: 1.432 MB / 328.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.344/0.4381, allocations: 148.6 MB / 476.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.4383, allocations: 0 / 476.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.4383, allocations: 0 / 476.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.4394, allocations: 318.1 kB / 477.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.4411, allocations: 0.7462 MB / 477.9 MB, free: 500 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.823e-05/0.4412, allocations: 75.64 kB / 477.9 MB, free: 424 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.4413, allocations: 3.938 kB / 477.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.4413, allocations: 35.86 kB / 478 MB, free: 384 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.4415, allocations: 39.83 kB / 478 MB, free: 344 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4415, allocations: 0 / 478 MB, free: 344 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.4435, allocations: 1.422 MB / 479.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.4435, allocations: 19.97 kB / 479.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.4436, allocations: 27.86 kB / 479.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.4448, allocations: 0.9236 MB / 480.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4448, allocations: 0 / 480.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4448, allocations: 0 / 480.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.4448, allocations: 0 / 480.4 MB, free: 13.94 MB / 382.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.000588/0.4454, allocations: 475.7 kB / 480.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.4455, allocations: 11.97 kB / 480.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.4458, allocations: 36.81 kB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.446, allocations: 204.2 kB / 481.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.446, allocations: 9.906 kB / 481.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.4461, allocations: 3.938 kB / 481.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4462, allocations: 75.38 kB / 481.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4462, allocations: 0 / 481.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4463, allocations: 4 kB / 481.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4463, allocations: 0 / 481.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4464, allocations: 43.91 kB / 481.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.4466, allocations: 194.6 kB / 481.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.4469, allocations: 113.1 kB / 481.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.447, allocations: 41.69 kB / 481.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.4476, allocations: 137 kB / 481.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4476, allocations: 34.56 kB / 481.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4476, allocations: 0 / 481.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003408/0.448, allocations: 121.4 kB / 481.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.448, allocations: 81.11 kB / 482 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4482, allocations: 141.8 kB / 482.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4482, allocations: 29.7 kB / 482.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.4482, allocations: 84.14 kB / 482.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.4483, allocations: 27.66 kB / 482.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.4483, allocations: 21.7 kB / 482.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4484, allocations: 318.8 kB / 482.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.4485, allocations: 24.47 kB / 482.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.4486, allocations: 51.36 kB / 482.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.4488, allocations: 83.41 kB / 482.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4488, allocations: 0 / 482.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002444/0.449, allocations: 116 kB / 482.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4491, allocations: 4 kB / 482.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4491, allocations: 4 kB / 482.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4491, allocations: 0 / 482.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.4492, allocations: 20.05 kB / 482.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4492, allocations: 4 kB / 482.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.4492, allocations: 3.906 kB / 482.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4492, allocations: 4 kB / 482.9 MB, free: 11.18 MB / 382.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 8.226e-05/0.4493, allocations: 125.7 kB / 483 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.4494, allocations: 11.84 kB / 483 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.4497, allocations: 115.4 kB / 483.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4497, allocations: 4 kB / 483.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4497, allocations: 0 / 483.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4497, allocations: 0 / 483.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.4498, allocations: 197.5 kB / 483.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4498, allocations: 0 / 483.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.4499, allocations: 8 kB / 483.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4499, allocations: 0 / 483.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.45, allocations: 7.984 kB / 483.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.45, allocations: 3.938 kB / 483.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.45, allocations: 0 / 483.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.4503, allocations: 173.7 kB / 483.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.4504, allocations: 89.12 kB / 483.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.4504, allocations: 0 / 483.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.4504, allocations: 0 / 483.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.4505, allocations: 7.984 kB / 483.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4505, allocations: 8 kB / 483.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.207e-05/0.4506, allocations: 111.3 kB / 483.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4506, allocations: 0 / 483.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.4512, allocations: 203.8 kB / 483.9 MB, free: 10.04 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001188/0.4524, allocations: 0.5144 MB / 484.4 MB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4526, allocations: 71.88 kB / 484.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4526, allocations: 0 / 484.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.4527, allocations: 31.92 kB / 484.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.453, allocations: 32.38 kB / 484.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.4535, allocations: 323.9 kB / 484.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4538, allocations: 0.6846 MB / 485.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.366e-05/0.4538, allocations: 24.75 kB / 485.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.4539, allocations: 19.44 kB / 485.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4539, allocations: 0 / 485.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of Templates: time 0.009944/0.4638, allocations: 5.982 MB / 491.6 MB, free: 2.309 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches