Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 118.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 55.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2375, allocations: 50.55 MB / 408.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002256/0.2398, allocations: 1.373 MB / 410.1 MB, free: 116 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.367/0.6068, allocations: 151.6 MB / 0.5485 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.6069, allocations: 2.094 kB / 0.5485 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.6069, allocations: 5.719 kB / 0.5486 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007865/0.6077, allocations: 240 kB / 0.5488 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.6086, allocations: 396.1 kB / 0.5492 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.788e-05/0.6087, allocations: 60.83 kB / 0.5492 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.6087, allocations: 3.953 kB / 0.5492 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.6088, allocations: 24.06 kB / 0.5492 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.6088, allocations: 29.03 kB / 0.5493 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.6089, allocations: 0.8438 kB / 0.5493 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008831/0.6098, allocations: 0.6761 MB / 0.5499 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.6098, allocations: 12.64 kB / 0.5499 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.6098, allocations: 24.53 kB / 0.55 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.6104, allocations: 0.4905 MB / 0.5504 GB, free: 1.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6104, allocations: 0 / 0.5504 GB, free: 1.457 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6104, allocations: 1.031 kB / 0.5504 GB, free: 1.457 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.6104, allocations: 3.188 kB / 0.5505 GB, free: 1.457 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.0005449/0.611, allocations: 433.5 kB / 0.5509 GB, free: 17.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.611, allocations: 8.344 kB / 0.5509 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.6111, allocations: 41.66 kB / 0.5509 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.6123, allocations: 102.5 kB / 0.551 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.6126, allocations: 228.9 kB / 0.5512 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.6126, allocations: 0 / 0.5512 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.6127, allocations: 8.062 kB / 0.5512 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.6129, allocations: 91.06 kB / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.6129, allocations: 0.9375 kB / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.6129, allocations: 0 / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.6129, allocations: 2.406 kB / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.6131, allocations: 44.94 kB / 0.5514 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.6133, allocations: 214.9 kB / 0.5516 GB, free: 16.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.6137, allocations: 124.5 kB / 0.5517 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6138, allocations: 33.03 kB / 0.5517 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.6144, allocations: 0.9919 MB / 0.5527 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.6144, allocations: 35.31 kB / 0.5527 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.6144, allocations: 8.078 kB / 0.5527 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004439/0.6149, allocations: 132.5 kB / 0.5529 GB, free: 15.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.6149, allocations: 82.09 kB / 0.5529 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.6151, allocations: 150.5 kB / 0.5531 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.6152, allocations: 31.53 kB / 0.5531 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.6152, allocations: 82.3 kB / 0.5532 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.6152, allocations: 25.3 kB / 0.5532 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.6153, allocations: 32.23 kB / 0.5532 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.6154, allocations: 320 kB / 0.5535 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.6155, allocations: 27.97 kB / 0.5536 GB, free: 14.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6156, allocations: 54.34 kB / 0.5536 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.6158, allocations: 85.02 kB / 0.5537 GB, free: 14.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6158, allocations: 3.094 kB / 0.5537 GB, free: 14.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003022/0.6161, allocations: 120.7 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6161, allocations: 5.875 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6162, allocations: 1.203 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6162, allocations: 4.094 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.6163, allocations: 32.22 kB / 0.5539 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6163, allocations: 1.062 kB / 0.5539 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.6165, allocations: 6.5 kB / 0.5539 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.6165, allocations: 8.641 kB / 0.5539 GB, free: 14.54 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.916e-05/0.6166, allocations: 121.5 kB / 0.554 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.6167, allocations: 7.516 kB / 0.554 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.6172, allocations: 237.9 kB / 0.5542 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6172, allocations: 1.422 kB / 0.5542 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6172, allocations: 3.641 kB / 0.5542 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6172, allocations: 2.203 kB / 0.5542 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.6174, allocations: 229.4 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6174, allocations: 0 / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.6176, allocations: 27.78 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6176, allocations: 2.297 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.6176, allocations: 4.688 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6176, allocations: 0 / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6176, allocations: 3.984 kB / 0.5545 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.618, allocations: 178 kB / 0.5547 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.6181, allocations: 93.97 kB / 0.5548 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.6182, allocations: 2.562 kB / 0.5548 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6183, allocations: 10.05 kB / 0.5548 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.6184, allocations: 7.016 kB / 0.5548 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.6184, allocations: 2.75 kB / 0.5548 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.6185, allocations: 130.5 kB / 0.5549 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6186, allocations: 0 / 0.5549 GB, free: 13.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.619, allocations: 136.1 kB / 0.555 GB, free: 13.89 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001143/0.6201, allocations: 0.9317 MB / 0.5559 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.6204, allocations: 81.75 kB / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6204, allocations: 0 / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.6205, allocations: 37.59 kB / 0.5561 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.6207, allocations: 17.72 kB / 0.5561 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.623, allocations: 1.8 MB / 0.5578 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.6232, allocations: 0.6869 MB / 0.5585 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.6237, allocations: 438.1 kB / 0.5589 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.6238, allocations: 46.55 kB / 0.559 GB, free: 11.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6238, allocations: 3.094 kB / 0.559 GB, free: 11.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.6457, allocations: 6.643 MB / 0.5655 GB, free: 10.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/8.045, allocations: 7.062 kB / 0.5655 GB, free: 10.52 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches