Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 180.4 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 225.7 MB / 243.2 MB, free: 8.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000765/0.000765, allocations: 104 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002247/0.0002247, allocations: 15.94 kB / 354.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1712, allocations: 50.42 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.0009977/0.1722, allocations: 1.083 MB / 405.7 MB, free: 30.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2813/0.4535, allocations: 138.5 MB / 0.5314 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.4536, allocations: 0 / 0.5314 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.4536, allocations: 6.156 kB / 0.5314 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008739/0.4545, allocations: 326.1 kB / 0.5317 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.4553, allocations: 464.8 kB / 0.5321 GB, free: 13.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.4555, allocations: 91.84 kB / 0.5322 GB, free: 13.47 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.4555, allocations: 5.375 kB / 0.5322 GB, free: 13.47 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.4556, allocations: 34.73 kB / 0.5323 GB, free: 13.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.4557, allocations: 34.77 kB / 0.5323 GB, free: 13.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.4557, allocations: 2.188 kB / 0.5323 GB, free: 13.47 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.4573, allocations: 1.213 MB / 0.5335 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.4574, allocations: 17.38 kB / 0.5335 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.4574, allocations: 52.16 kB / 0.5336 GB, free: 13.33 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009332/0.4584, allocations: 0.7739 MB / 0.5343 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4584, allocations: 0 / 0.5343 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4584, allocations: 0 / 0.5343 GB, free: 13.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.4584, allocations: 0 / 0.5343 GB, free: 13.27 MB / 394.7 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.0004524/0.4589, allocations: 447.3 kB / 0.5347 GB, free: 12.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.4589, allocations: 9.656 kB / 0.5347 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.4593, allocations: 69.83 kB / 0.5348 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.4594, allocations: 193.4 kB / 0.535 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4595, allocations: 11.73 kB / 0.535 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.4595, allocations: 2.156 kB / 0.535 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4596, allocations: 75.08 kB / 0.5351 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.4597, allocations: 0.875 kB / 0.5351 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.4597, allocations: 3.312 kB / 0.5351 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4597, allocations: 5.312 kB / 0.5351 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4598, allocations: 42.53 kB / 0.5351 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.46, allocations: 193.7 kB / 0.5353 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.4603, allocations: 117.5 kB / 0.5354 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.4604, allocations: 39.28 kB / 0.5355 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/0.4608, allocations: 129 kB / 0.5356 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4609, allocations: 40.28 kB / 0.5356 GB, free: 12.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4609, allocations: 4 kB / 0.5356 GB, free: 12.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.00029/0.4612, allocations: 115.8 kB / 0.5357 GB, free: 12.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.4612, allocations: 84.56 kB / 0.5358 GB, free: 12.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4613, allocations: 140 kB / 0.536 GB, free: 11.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.4614, allocations: 25.7 kB / 0.536 GB, free: 11.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.4614, allocations: 89.16 kB / 0.5361 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.4614, allocations: 21.88 kB / 0.5361 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.4614, allocations: 7.125 kB / 0.5361 GB, free: 11.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.4615, allocations: 324.1 kB / 0.5364 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.4616, allocations: 19.34 kB / 0.5364 GB, free: 11.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.4617, allocations: 53.62 kB / 0.5365 GB, free: 11.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.4618, allocations: 82.72 kB / 0.5365 GB, free: 11.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4618, allocations: 7.062 kB / 0.5366 GB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002061/0.462, allocations: 103.3 kB / 0.5367 GB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.462, allocations: 5.812 kB / 0.5367 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.462, allocations: 0 / 0.5367 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4621, allocations: 6.562 kB / 0.5367 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.4621, allocations: 19.11 kB / 0.5367 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4621, allocations: 1.969 kB / 0.5367 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.4622, allocations: 10.44 kB / 0.5367 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4622, allocations: 2.938 kB / 0.5367 GB, free: 11.36 MB / 394.7 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 6.487e-05/0.4623, allocations: 123.3 kB / 0.5368 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.4623, allocations: 8.594 kB / 0.5368 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.4626, allocations: 111.5 kB / 0.5369 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4626, allocations: 0 / 0.5369 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4626, allocations: 0 / 0.5369 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4626, allocations: 5.75 kB / 0.5369 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.4627, allocations: 194.8 kB / 0.5371 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.4627, allocations: 3.984 kB / 0.5371 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.4628, allocations: 9.656 kB / 0.5371 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.4628, allocations: 1.25 kB / 0.5371 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4628, allocations: 8.719 kB / 0.5371 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4628, allocations: 5.078 kB / 0.5371 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4628, allocations: 1.125 kB / 0.5371 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4631, allocations: 158.9 kB / 0.5373 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.4632, allocations: 91.78 kB / 0.5374 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.4632, allocations: 1.156 kB / 0.5374 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.4633, allocations: 5.672 kB / 0.5374 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.4633, allocations: 3.281 kB / 0.5374 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4633, allocations: 6.031 kB / 0.5374 GB, free: 10.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.659e-05/0.4634, allocations: 111.5 kB / 0.5375 GB, free: 10.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4634, allocations: 64 / 0.5375 GB, free: 10.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.4638, allocations: 165.6 kB / 0.5377 GB, free: 10.62 MB / 394.7 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.0008919/0.4647, allocations: 438.5 kB / 0.5381 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.4649, allocations: 65.62 kB / 0.5381 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4649, allocations: 0 / 0.5381 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.4649, allocations: 32.05 kB / 0.5382 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.4652, allocations: 43.98 kB / 0.5382 GB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.4656, allocations: 367.1 kB / 0.5386 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.4658, allocations: 0.6901 MB / 0.5392 GB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.518e-05/0.4659, allocations: 16.62 kB / 0.5393 GB, free: 9.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.4659, allocations: 16.16 kB / 0.5393 GB, free: 9.332 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4659, allocations: 0 / 0.5393 GB, free: 9.332 MB / 394.7 MB Notification: Performance of Templates: time 0.006844/0.4728, allocations: 4.535 MB / 0.5437 GB, free: 7.008 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches