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.001081/0.001081, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.001144/0.001144, allocations: 198.9 kB / 18 MB, free: 5.078 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.267/1.267, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009882/0.0009882, allocations: 51.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2362, allocations: 49.43 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00225/0.2385, allocations: 1.363 MB / 401.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.14/0.3785, allocations: 149.1 MB / 0.5377 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.3786, allocations: 0 / 0.5377 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.3787, allocations: 7.922 kB / 0.5378 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3799, allocations: 382.4 kB / 0.5381 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.381, allocations: 0.502 MB / 0.5386 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.3811, allocations: 63.72 kB / 0.5387 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.3812, allocations: 11.88 kB / 0.5387 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.3812, allocations: 39.83 kB / 0.5387 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.3813, allocations: 39.91 kB / 0.5388 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3813, allocations: 0 / 0.5388 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2157/0.597, allocations: 1.065 MB / 0.5398 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.5971, allocations: 14.88 kB / 0.5398 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.5972, allocations: 28.52 kB / 0.5398 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.5986, allocations: 0.6915 MB / 0.5405 GB, free: 2.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5986, allocations: 0 / 0.5405 GB, free: 2.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5986, allocations: 2.672 kB / 0.5405 GB, free: 2.398 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.5986, allocations: 0 / 0.5405 GB, free: 2.398 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.0006444/0.5993, allocations: 454.6 kB / 0.5409 GB, free: 18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.5993, allocations: 10.09 kB / 0.541 GB, free: 18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.5993, allocations: 34.55 kB / 0.541 GB, free: 17.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.5998, allocations: 71.94 kB / 0.5411 GB, free: 17.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.6, allocations: 199.7 kB / 0.5413 GB, free: 17.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.6, allocations: 5.219 kB / 0.5413 GB, free: 17.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.6001, allocations: 9.047 kB / 0.5413 GB, free: 17.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.6002, allocations: 69 kB / 0.5413 GB, free: 17.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.6002, allocations: 1 kB / 0.5413 GB, free: 17.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.6003, allocations: 0.9688 kB / 0.5413 GB, free: 17.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6003, allocations: 0.9688 kB / 0.5413 GB, free: 17.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.6004, allocations: 46.78 kB / 0.5414 GB, free: 17.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.6006, allocations: 191.8 kB / 0.5416 GB, free: 17.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.6009, allocations: 118.7 kB / 0.5417 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.601, allocations: 37.47 kB / 0.5417 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004866/0.6014, allocations: 135.6 kB / 0.5418 GB, free: 17.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.6015, allocations: 36.48 kB / 0.5419 GB, free: 17.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.6015, allocations: 1.531 kB / 0.5419 GB, free: 17.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003893/0.6019, allocations: 115.8 kB / 0.542 GB, free: 17.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6019, allocations: 84.58 kB / 0.5421 GB, free: 17.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.6021, allocations: 147.6 kB / 0.5422 GB, free: 17.08 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6021, allocations: 26.23 kB / 0.5422 GB, free: 17.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.6021, allocations: 86.55 kB / 0.5423 GB, free: 16.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.6022, allocations: 26.75 kB / 0.5423 GB, free: 16.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.6022, allocations: 20 kB / 0.5424 GB, free: 16.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6023, allocations: 319.5 kB / 0.5427 GB, free: 16.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.6024, allocations: 25.28 kB / 0.5427 GB, free: 16.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.6025, allocations: 53.38 kB / 0.5427 GB, free: 16.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.6026, allocations: 79.91 kB / 0.5428 GB, free: 16.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6026, allocations: 4.656 kB / 0.5428 GB, free: 16.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/0.6029, allocations: 109.7 kB / 0.5429 GB, free: 16.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6029, allocations: 5.406 kB / 0.5429 GB, free: 16.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6029, allocations: 3.312 kB / 0.5429 GB, free: 16.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6029, allocations: 2.562 kB / 0.5429 GB, free: 16.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.603, allocations: 18.92 kB / 0.543 GB, free: 16.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.603, allocations: 3.719 kB / 0.543 GB, free: 16.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.6031, allocations: 6.156 kB / 0.543 GB, free: 16.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.6031, allocations: 3.812 kB / 0.543 GB, free: 16.52 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.958e-05/0.6031, allocations: 117.6 kB / 0.5431 GB, free: 16.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.6032, allocations: 6.844 kB / 0.5431 GB, free: 16.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.6034, allocations: 117.5 kB / 0.5432 GB, free: 16.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6034, allocations: 0 / 0.5432 GB, free: 16.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6034, allocations: 4.906 kB / 0.5432 GB, free: 16.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6034, allocations: 2.875 kB / 0.5432 GB, free: 16.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.6036, allocations: 188.4 kB / 0.5434 GB, free: 16.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6036, allocations: 4.922 kB / 0.5434 GB, free: 16.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.6037, allocations: 14.14 kB / 0.5434 GB, free: 16.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6037, allocations: 0.9375 kB / 0.5434 GB, free: 16.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.6037, allocations: 6.344 kB / 0.5434 GB, free: 16.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6037, allocations: 0 / 0.5434 GB, free: 16.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6037, allocations: 0.9688 kB / 0.5434 GB, free: 16.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.604, allocations: 163.6 kB / 0.5436 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.604, allocations: 89.19 kB / 0.5437 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.6041, allocations: 2.469 kB / 0.5437 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.179e-05/0.6041, allocations: 5.812 kB / 0.5437 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.6042, allocations: 8.203 kB / 0.5437 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.6042, allocations: 0.9062 kB / 0.5437 GB, free: 15.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.327e-05/0.6042, allocations: 113.1 kB / 0.5438 GB, free: 15.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6042, allocations: 1 kB / 0.5438 GB, free: 15.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.6048, allocations: 160.8 kB / 0.5439 GB, free: 15.88 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.001366/0.6062, allocations: 1.02 MB / 0.5449 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.6064, allocations: 66.89 kB / 0.545 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6064, allocations: 0.9062 kB / 0.545 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.6064, allocations: 34.25 kB / 0.545 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.6067, allocations: 36.12 kB / 0.5451 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.6083, allocations: 1.742 MB / 0.5468 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.6087, allocations: 0.6908 MB / 0.5474 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.6087, allocations: 12.52 kB / 0.5474 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.6088, allocations: 24.98 kB / 0.5475 GB, free: 13.3 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6088, allocations: 0.8438 kB / 0.5475 GB, free: 13.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.6322, allocations: 6.318 MB / 0.5536 GB, free: 12.69 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.381, allocations: 4.625 kB / 0.5536 GB, free: 12.68 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