Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 200.3 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007326/0.0007327, allocations: 95.56 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001958/0.0001958, allocations: 8 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1742, allocations: 51.43 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.0009727/0.1752, allocations: 1.084 MB / 413.1 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2939/0.4691, allocations: 138.8 MB / 0.539 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.4692, allocations: 0 / 0.539 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.4692, allocations: 5.203 kB / 0.539 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009829/0.4702, allocations: 336.5 kB / 0.5393 GB, free: 13.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.4713, allocations: 465.8 kB / 0.5397 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.4714, allocations: 92.23 kB / 0.5398 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.4714, allocations: 2.578 kB / 0.5398 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.4715, allocations: 34.55 kB / 0.5398 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.4716, allocations: 38.66 kB / 0.5399 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.4716, allocations: 7.141 kB / 0.5399 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.4734, allocations: 1.209 MB / 0.5411 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.4734, allocations: 14.47 kB / 0.5411 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.4735, allocations: 54.47 kB / 0.5411 GB, free: 13.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.4748, allocations: 0.7767 MB / 0.5419 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4748, allocations: 0 / 0.5419 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4748, allocations: 4 kB / 0.5419 GB, free: 12.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.4748, allocations: 0 / 0.5419 GB, free: 12.89 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.0005676/0.4754, allocations: 448.7 kB / 0.5423 GB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.4755, allocations: 10.94 kB / 0.5423 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.4759, allocations: 61.09 kB / 0.5424 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.476, allocations: 198.2 kB / 0.5426 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4761, allocations: 10.09 kB / 0.5426 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.4761, allocations: 7 kB / 0.5426 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.4762, allocations: 76.86 kB / 0.5427 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.4763, allocations: 1.859 kB / 0.5427 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.4763, allocations: 2.875 kB / 0.5427 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4763, allocations: 0 / 0.5427 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.4764, allocations: 41.59 kB / 0.5427 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.4766, allocations: 194.7 kB / 0.5429 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.4768, allocations: 117.5 kB / 0.543 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.4769, allocations: 41.91 kB / 0.5431 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.4773, allocations: 133 kB / 0.5432 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.4774, allocations: 38.06 kB / 0.5432 GB, free: 11.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.4774, allocations: 0 / 0.5432 GB, free: 11.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002934/0.4777, allocations: 112 kB / 0.5433 GB, free: 11.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.4777, allocations: 83.91 kB / 0.5434 GB, free: 11.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.4778, allocations: 138.9 kB / 0.5435 GB, free: 11.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.4778, allocations: 29.7 kB / 0.5436 GB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.4779, allocations: 88.47 kB / 0.5437 GB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.4779, allocations: 25.73 kB / 0.5437 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.4779, allocations: 3.25 kB / 0.5437 GB, free: 11.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.478, allocations: 313.8 kB / 0.544 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.4781, allocations: 25.41 kB / 0.544 GB, free: 10.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.4782, allocations: 50.78 kB / 0.5441 GB, free: 10.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4783, allocations: 89.27 kB / 0.5441 GB, free: 10.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4783, allocations: 6.719 kB / 0.5441 GB, free: 10.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002244/0.4785, allocations: 101.8 kB / 0.5442 GB, free: 10.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4786, allocations: 5.125 kB / 0.5442 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4786, allocations: 6.781 kB / 0.5443 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.4786, allocations: 4.062 kB / 0.5443 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.4787, allocations: 17.92 kB / 0.5443 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4787, allocations: 0 / 0.5443 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.4787, allocations: 5.812 kB / 0.5443 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4787, allocations: 3.438 kB / 0.5443 GB, free: 10.82 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.866e-05/0.4788, allocations: 119.6 kB / 0.5444 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.4789, allocations: 14.7 kB / 0.5444 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.4791, allocations: 115.7 kB / 0.5445 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4791, allocations: 0 / 0.5445 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4791, allocations: 3.344 kB / 0.5445 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4791, allocations: 0 / 0.5445 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.4792, allocations: 191.6 kB / 0.5447 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4793, allocations: 1.75 kB / 0.5447 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.4793, allocations: 13.84 kB / 0.5447 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4793, allocations: 2.625 kB / 0.5447 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4794, allocations: 0 / 0.5447 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4794, allocations: 0 / 0.5447 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4794, allocations: 6.516 kB / 0.5447 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.4797, allocations: 168.8 kB / 0.5449 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.4797, allocations: 91.28 kB / 0.545 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.4797, allocations: 1.812 kB / 0.545 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.4798, allocations: 3.062 kB / 0.545 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.4798, allocations: 8.609 kB / 0.545 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.4798, allocations: 18.25 kB / 0.545 GB, free: 10.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.4799, allocations: 111.8 kB / 0.5451 GB, free: 10.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4799, allocations: 0 / 0.5451 GB, free: 10.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004555/0.4804, allocations: 161.3 kB / 0.5453 GB, free: 10.07 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.0009978/0.4814, allocations: 440.2 kB / 0.5457 GB, free: 9.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.4816, allocations: 66.77 kB / 0.5458 GB, free: 9.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4816, allocations: 4.125 kB / 0.5458 GB, free: 9.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.4817, allocations: 26.02 kB / 0.5458 GB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.4819, allocations: 24.95 kB / 0.5458 GB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.4824, allocations: 371.2 kB / 0.5462 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.4827, allocations: 0.6876 MB / 0.5468 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.093e-05/0.4827, allocations: 16.2 kB / 0.5468 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.4828, allocations: 20.58 kB / 0.5469 GB, free: 8.797 MB / 394.7 MB Notification: Performance of SimCode: time 1.974e-06/0.4828, allocations: 0 / 0.5469 GB, free: 8.797 MB / 394.7 MB Notification: Performance of Templates: time 0.008956/0.4917, allocations: 4.546 MB / 0.5513 GB, free: 6.461 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches