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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 112.8 kB / 17.06 MB, free: 6.004 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.001717/0.001717, allocations: 200 kB / 18 MB, free: 5.082 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.299/1.299, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2467, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002372/0.2491, allocations: 1.376 MB / 401.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1493/0.3984, allocations: 149.1 MB / 0.5378 GB, free: 1.758 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.3986, allocations: 4 kB / 0.5378 GB, free: 1.754 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.3987, allocations: 3.984 kB / 0.5378 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.3999, allocations: 378.4 kB / 0.5381 GB, free: 1.379 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.4011, allocations: 0.4993 MB / 0.5386 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.4012, allocations: 71.7 kB / 0.5387 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.4013, allocations: 7.875 kB / 0.5387 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.4013, allocations: 35.84 kB / 0.5387 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.4014, allocations: 31.91 kB / 0.5388 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.4014, allocations: 0 / 0.5388 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2428/0.6443, allocations: 1.069 MB / 0.5398 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.6444, allocations: 17.78 kB / 0.5398 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.6445, allocations: 30.03 kB / 0.5398 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.6465, allocations: 0.6826 MB / 0.5405 GB, free: 2.316 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6465, allocations: 1.469 kB / 0.5405 GB, free: 2.316 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.6465, allocations: 0 / 0.5405 GB, free: 2.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.6465, allocations: 0.5 kB / 0.5405 GB, free: 2.316 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.0009144/0.6474, allocations: 455.4 kB / 0.5409 GB, free: 17.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6475, allocations: 10.84 kB / 0.541 GB, free: 17.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.6475, allocations: 38 kB / 0.541 GB, free: 17.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005199/0.648, allocations: 77.31 kB / 0.5411 GB, free: 17.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.6482, allocations: 192.3 kB / 0.5412 GB, free: 17.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6482, allocations: 6.125 kB / 0.5413 GB, free: 17.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.6483, allocations: 8.922 kB / 0.5413 GB, free: 17.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.6484, allocations: 69.52 kB / 0.5413 GB, free: 17.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6484, allocations: 3.188 kB / 0.5413 GB, free: 17.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.6485, allocations: 1.312 kB / 0.5413 GB, free: 17.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6485, allocations: 1.844 kB / 0.5413 GB, free: 17.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.6486, allocations: 43.83 kB / 0.5414 GB, free: 17.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.6488, allocations: 192.2 kB / 0.5416 GB, free: 17.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.6491, allocations: 116.6 kB / 0.5417 GB, free: 17.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.6492, allocations: 40.34 kB / 0.5417 GB, free: 17.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.6498, allocations: 139.7 kB / 0.5418 GB, free: 17.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6498, allocations: 37.56 kB / 0.5419 GB, free: 17.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.6498, allocations: 0 / 0.5419 GB, free: 17.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000417/0.6502, allocations: 119 kB / 0.542 GB, free: 17.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.6503, allocations: 82.34 kB / 0.5421 GB, free: 17.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.6504, allocations: 140.4 kB / 0.5422 GB, free: 17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.6504, allocations: 30.48 kB / 0.5422 GB, free: 16.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.6505, allocations: 85.05 kB / 0.5423 GB, free: 16.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.6505, allocations: 26.27 kB / 0.5423 GB, free: 16.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.6506, allocations: 19.16 kB / 0.5424 GB, free: 16.85 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6507, allocations: 320.8 kB / 0.5427 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.6508, allocations: 23.8 kB / 0.5427 GB, free: 16.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.6509, allocations: 50.03 kB / 0.5427 GB, free: 16.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.651, allocations: 82.7 kB / 0.5428 GB, free: 16.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.651, allocations: 6.406 kB / 0.5428 GB, free: 16.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002532/0.6513, allocations: 108 kB / 0.5429 GB, free: 16.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6513, allocations: 6.094 kB / 0.5429 GB, free: 16.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6513, allocations: 2.906 kB / 0.5429 GB, free: 16.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6514, allocations: 3.438 kB / 0.5429 GB, free: 16.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.6514, allocations: 12.12 kB / 0.5429 GB, free: 16.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6514, allocations: 3.203 kB / 0.543 GB, free: 16.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.6515, allocations: 6.625 kB / 0.543 GB, free: 16.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6515, allocations: 6.031 kB / 0.543 GB, free: 16.44 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 7.694e-05/0.6516, allocations: 123.4 kB / 0.5431 GB, free: 16.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.6516, allocations: 7 kB / 0.5431 GB, free: 16.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.6519, allocations: 117.1 kB / 0.5432 GB, free: 16.28 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6519, allocations: 0 / 0.5432 GB, free: 16.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6519, allocations: 4.312 kB / 0.5432 GB, free: 16.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6519, allocations: 0 / 0.5432 GB, free: 16.28 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.6521, allocations: 189.6 kB / 0.5434 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6521, allocations: 2.625 kB / 0.5434 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.6521, allocations: 17.31 kB / 0.5434 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6522, allocations: 0.9375 kB / 0.5434 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.6522, allocations: 2.625 kB / 0.5434 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6522, allocations: 1.781 kB / 0.5434 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6522, allocations: 0 / 0.5434 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.6525, allocations: 167.1 kB / 0.5436 GB, free: 16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.6526, allocations: 88.08 kB / 0.5437 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.6526, allocations: 4.938 kB / 0.5437 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.6527, allocations: 3.312 kB / 0.5437 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.6527, allocations: 6.047 kB / 0.5437 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.6527, allocations: 6.312 kB / 0.5437 GB, free: 15.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.6528, allocations: 113.5 kB / 0.5438 GB, free: 15.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6528, allocations: 0 / 0.5438 GB, free: 15.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006828/0.6535, allocations: 160.8 kB / 0.5439 GB, free: 15.8 MB / 478.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.001696/0.6552, allocations: 1.025 MB / 0.5449 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.6554, allocations: 63.33 kB / 0.545 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6554, allocations: 3.562 kB / 0.545 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.6555, allocations: 31.75 kB / 0.545 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.6558, allocations: 26.58 kB / 0.5451 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.6578, allocations: 1.742 MB / 0.5468 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.6581, allocations: 0.6948 MB / 0.5474 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.6582, allocations: 9.828 kB / 0.5474 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.6582, allocations: 27.34 kB / 0.5475 GB, free: 13.22 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6582, allocations: 0 / 0.5475 GB, free: 13.22 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.684, allocations: 6.317 MB / 0.5536 GB, free: 12.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.738, allocations: 0.625 kB / 0.5536 GB, free: 12.6 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > 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