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.001125/0.001125, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.00115/0.00115, allocations: 187 kB / 18.67 MB, free: 4.406 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.323/1.323, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.002093/0.002093, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1054, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002414/0.1079, allocations: 1.357 MB / 376.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.326/0.4339, allocations: 150.8 MB / 0.5149 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.4341, allocations: 4 kB / 0.5149 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.4341, allocations: 3.938 kB / 0.5149 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.4353, allocations: 342.5 kB / 0.5152 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.4372, allocations: 0.8115 MB / 0.516 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.4374, allocations: 83.58 kB / 0.5161 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.4374, allocations: 7.938 kB / 0.5161 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.4375, allocations: 31.86 kB / 0.5161 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.4376, allocations: 31.89 kB / 0.5162 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.4376, allocations: 4 kB / 0.5162 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.4399, allocations: 1.403 MB / 0.5176 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.4399, allocations: 19.91 kB / 0.5176 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.44, allocations: 31.8 kB / 0.5176 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.4413, allocations: 0.8537 MB / 0.5184 GB, free: 3.402 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4413, allocations: 0 / 0.5184 GB, free: 3.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4413, allocations: 3.938 kB / 0.5184 GB, free: 3.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.4413, allocations: 0 / 0.5184 GB, free: 3.398 MB / 446.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.000657/0.442, allocations: 467.8 kB / 0.5189 GB, free: 2.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.442, allocations: 12.02 kB / 0.5189 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.4423, allocations: 36.84 kB / 0.5189 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4425, allocations: 196.2 kB / 0.5191 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4425, allocations: 8.5 kB / 0.5191 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.4426, allocations: 7.938 kB / 0.5191 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4427, allocations: 71.38 kB / 0.5192 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4427, allocations: 0 / 0.5192 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.4428, allocations: 0 / 0.5192 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4428, allocations: 4 kB / 0.5192 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4429, allocations: 47.91 kB / 0.5193 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.4431, allocations: 195.2 kB / 0.5194 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.4434, allocations: 109.2 kB / 0.5195 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.4435, allocations: 41.7 kB / 0.5196 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.444, allocations: 153 kB / 0.5197 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.444, allocations: 34.56 kB / 0.5198 GB, free: 1.844 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4441, allocations: 0 / 0.5198 GB, free: 1.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003547/0.4444, allocations: 113.6 kB / 0.5199 GB, free: 1.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.4445, allocations: 81.11 kB / 0.5199 GB, free: 1.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4446, allocations: 143.2 kB / 0.5201 GB, free: 1.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4446, allocations: 25.7 kB / 0.5201 GB, free: 1.449 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.4446, allocations: 88.14 kB / 0.5202 GB, free: 1.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.4447, allocations: 27.66 kB / 0.5202 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.4447, allocations: 21.7 kB / 0.5202 GB, free: 1.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4448, allocations: 318.8 kB / 0.5205 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.4449, allocations: 19.98 kB / 0.5206 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.856e-05/0.445, allocations: 51.41 kB / 0.5206 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4452, allocations: 83.34 kB / 0.5207 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4452, allocations: 0.8125 kB / 0.5207 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002488/0.4454, allocations: 117.8 kB / 0.5208 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4454, allocations: 4 kB / 0.5208 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4455, allocations: 11.92 kB / 0.5208 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4455, allocations: 0 / 0.5208 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.4456, allocations: 20.05 kB / 0.5208 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4456, allocations: 4.547 kB / 0.5208 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.4456, allocations: 0 / 0.5208 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4456, allocations: 5.938 kB / 0.5208 GB, free: 0.6445 MB / 446.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.48e-05/0.4457, allocations: 117.8 kB / 0.521 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.4458, allocations: 15.78 kB / 0.521 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.446, allocations: 116.5 kB / 0.5211 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4461, allocations: 4 kB / 0.5211 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4461, allocations: 0 / 0.5211 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4461, allocations: 0 / 0.5211 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.4462, allocations: 193.5 kB / 0.5213 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4462, allocations: 0 / 0.5213 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.4463, allocations: 11.94 kB / 0.5213 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4463, allocations: 0 / 0.5213 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4463, allocations: 4 kB / 0.5213 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4463, allocations: 0 / 0.5213 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4463, allocations: 3.984 kB / 0.5213 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.4467, allocations: 163.3 kB / 0.5214 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.4467, allocations: 89.03 kB / 0.5215 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4468, allocations: 4 kB / 0.5215 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.4468, allocations: 2.562 kB / 0.5215 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.4469, allocations: 11.92 kB / 0.5216 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.4469, allocations: 4 kB / 0.5216 GB, free: 15.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.447, allocations: 111.9 kB / 0.5217 GB, free: 15.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.447, allocations: 0 / 0.5217 GB, free: 15.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.4475, allocations: 207.8 kB / 0.5219 GB, free: 15.5 MB / 462.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.00119/0.4487, allocations: 0.5166 MB / 0.5224 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.449, allocations: 63.91 kB / 0.5224 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.449, allocations: 0 / 0.5224 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.4491, allocations: 40.03 kB / 0.5225 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4493, allocations: 25.72 kB / 0.5225 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.4498, allocations: 304.4 kB / 0.5228 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.4501, allocations: 0.6924 MB / 0.5235 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.702e-05/0.4502, allocations: 15.89 kB / 0.5235 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.4502, allocations: 19.42 kB / 0.5235 GB, free: 13.78 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4502, allocations: 4 kB / 0.5235 GB, free: 13.78 MB / 462.1 MB Notification: Performance of Templates: time 0.01075/0.461, allocations: 6.107 MB / 0.5295 GB, free: 7.668 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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