Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 112.7 kB / 17.75 MB, free: 5.18 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.001023/0.001023, allocations: 187 kB / 18.68 MB, free: 4.258 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009324/0.0009325, allocations: 39.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2109, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00209/0.213, allocations: 1.368 MB / 402.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.3583, allocations: 149 MB / 0.5389 GB, free: 1.867 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.3584, allocations: 4 kB / 0.5389 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.3585, allocations: 11.86 kB / 0.5389 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.3595, allocations: 382.4 kB / 0.5393 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3606, allocations: 0.5068 MB / 0.5398 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3607, allocations: 71.59 kB / 0.5398 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.3608, allocations: 7.984 kB / 0.5398 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.3608, allocations: 31.91 kB / 0.5399 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.3609, allocations: 39.84 kB / 0.5399 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3609, allocations: 0 / 0.5399 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1966/0.5576, allocations: 1.073 MB / 0.541 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.5576, allocations: 17.36 kB / 0.541 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.5577, allocations: 25.95 kB / 0.541 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.5592, allocations: 0.6886 MB / 0.5417 GB, free: 2.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5592, allocations: 0.5938 kB / 0.5417 GB, free: 2.348 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5592, allocations: 0 / 0.5417 GB, free: 2.348 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.5592, allocations: 0.5312 kB / 0.5417 GB, free: 2.348 MB / 462.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.0006086/0.5598, allocations: 460.9 kB / 0.5421 GB, free: 17.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5599, allocations: 11.39 kB / 0.5421 GB, free: 17.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/0.5604, allocations: 70.38 kB / 0.5422 GB, free: 17.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.5605, allocations: 194.8 kB / 0.5424 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.5606, allocations: 2.344 kB / 0.5424 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.5606, allocations: 9.531 kB / 0.5424 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5607, allocations: 73.89 kB / 0.5425 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5608, allocations: 0.9375 kB / 0.5425 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.5608, allocations: 6.797 kB / 0.5425 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5608, allocations: 2.125 kB / 0.5425 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.5609, allocations: 36.27 kB / 0.5425 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.5611, allocations: 193.7 kB / 0.5427 GB, free: 17.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.5614, allocations: 117.8 kB / 0.5428 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.5615, allocations: 41.84 kB / 0.5428 GB, free: 17.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/0.562, allocations: 138.2 kB / 0.543 GB, free: 17.33 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.5621, allocations: 35.78 kB / 0.543 GB, free: 17.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5621, allocations: 0 / 0.543 GB, free: 17.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003667/0.5624, allocations: 118.2 kB / 0.5431 GB, free: 17.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.5625, allocations: 82.7 kB / 0.5432 GB, free: 17.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5626, allocations: 143.5 kB / 0.5433 GB, free: 17.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.5626, allocations: 27.23 kB / 0.5434 GB, free: 17.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.5627, allocations: 88.03 kB / 0.5434 GB, free: 16.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.5627, allocations: 23.44 kB / 0.5435 GB, free: 16.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.5628, allocations: 21.55 kB / 0.5435 GB, free: 16.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.5629, allocations: 319.6 kB / 0.5438 GB, free: 16.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.5629, allocations: 27.14 kB / 0.5438 GB, free: 16.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.563, allocations: 56.08 kB / 0.5439 GB, free: 16.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.5632, allocations: 77.61 kB / 0.5439 GB, free: 16.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5632, allocations: 0.5 kB / 0.5439 GB, free: 16.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000244/0.5634, allocations: 112.5 kB / 0.544 GB, free: 16.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5635, allocations: 8.547 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5635, allocations: 2.625 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5635, allocations: 0.9688 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.5636, allocations: 18.97 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5636, allocations: 1.062 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.5636, allocations: 7.219 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.5636, allocations: 3.141 kB / 0.5441 GB, free: 16.5 MB / 478.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 6.7e-05/0.5637, allocations: 123.4 kB / 0.5442 GB, free: 16.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.5638, allocations: 10.16 kB / 0.5442 GB, free: 16.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.564, allocations: 113.9 kB / 0.5443 GB, free: 16.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.564, allocations: 96 / 0.5443 GB, free: 16.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.564, allocations: 3.188 kB / 0.5443 GB, free: 16.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.5641, allocations: 92.42 kB / 0.5444 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.5641, allocations: 4 kB / 0.5444 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.5642, allocations: 8.828 kB / 0.5444 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.5642, allocations: 9.531 kB / 0.5444 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003877/0.5646, allocations: 265.5 kB / 0.5447 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003602/0.565, allocations: 382.7 kB / 0.5451 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.097e-05/0.5651, allocations: 27.31 kB / 0.5451 GB, free: 15.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.67e-05/0.5651, allocations: 120.2 kB / 0.5452 GB, free: 15.7 MB / 478.1 MB Notification: Performance of Backend: time 2e-07/0.5651, allocations: 0 / 0.5452 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.5664, allocations: 454.4 kB / 0.5456 GB, free: 15.59 MB / 478.1 MB Notification: Performance of SimCode: time 0.000666/0.5671, allocations: 0.7615 MB / 0.5464 GB, free: 14.95 MB / 478.1 MB Notification: Performance of Templates: time 0.007595/0.5747, allocations: 5.057 MB / 0.5513 GB, free: 14.68 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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