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.001319/0.001319, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 201.2 kB / 18.74 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.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2418, allocations: 50.55 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002599/0.2444, allocations: 1.373 MB / 410.1 MB, free: 196 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3994/0.6438, allocations: 151.6 MB / 0.5485 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.644, allocations: 0 / 0.5485 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.6441, allocations: 5.953 kB / 0.5486 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.6451, allocations: 236.6 kB / 0.5488 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.6463, allocations: 398.6 kB / 0.5492 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.6465, allocations: 61.27 kB / 0.5492 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.6465, allocations: 2.391 kB / 0.5492 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.6466, allocations: 23.02 kB / 0.5492 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.6467, allocations: 36.52 kB / 0.5493 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.6467, allocations: 0.9375 kB / 0.5493 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.648, allocations: 0.6713 MB / 0.5499 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.6481, allocations: 10.19 kB / 0.5499 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.6481, allocations: 22.72 kB / 0.55 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009961/0.6491, allocations: 499.6 kB / 0.5504 GB, free: 1.453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6491, allocations: 5.375 kB / 0.5504 GB, free: 1.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6491, allocations: 0.8125 kB / 0.5504 GB, free: 1.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.6492, allocations: 0 / 0.5504 GB, free: 1.453 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.0007273/0.6499, allocations: 435.6 kB / 0.5509 GB, free: 17.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6499, allocations: 10.91 kB / 0.5509 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.65, allocations: 30.75 kB / 0.5509 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.6514, allocations: 106.4 kB / 0.551 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.6517, allocations: 229.1 kB / 0.5512 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.6517, allocations: 3.219 kB / 0.5512 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.6518, allocations: 8.062 kB / 0.5512 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.652, allocations: 94.05 kB / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.652, allocations: 0.8125 kB / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6521, allocations: 0 / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6521, allocations: 0.9375 kB / 0.5513 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.6522, allocations: 43.19 kB / 0.5514 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.6525, allocations: 210.6 kB / 0.5516 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.653, allocations: 124.8 kB / 0.5517 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6531, allocations: 44.91 kB / 0.5517 GB, free: 16.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007412/0.6538, allocations: 0.9852 MB / 0.5527 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.6539, allocations: 39.38 kB / 0.5527 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.6539, allocations: 1 kB / 0.5527 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004739/0.6544, allocations: 133.5 kB / 0.5529 GB, free: 15.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.6544, allocations: 79.14 kB / 0.5529 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.6546, allocations: 152.4 kB / 0.5531 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.6547, allocations: 29.58 kB / 0.5531 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.6547, allocations: 83.67 kB / 0.5532 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.6548, allocations: 23.75 kB / 0.5532 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.6548, allocations: 35.52 kB / 0.5532 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.655, allocations: 319.8 kB / 0.5535 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.6551, allocations: 26.7 kB / 0.5536 GB, free: 14.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6552, allocations: 57.95 kB / 0.5536 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.6554, allocations: 87.02 kB / 0.5537 GB, free: 14.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6554, allocations: 0 / 0.5537 GB, free: 14.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003156/0.6557, allocations: 122.8 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6557, allocations: 5.75 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6557, allocations: 2.25 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6558, allocations: 4.812 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.6559, allocations: 22.38 kB / 0.5539 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.6559, allocations: 9.031 kB / 0.5539 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.6561, allocations: 8.438 kB / 0.5539 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.6562, allocations: 8.578 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 0.0001088/0.6563, allocations: 121.6 kB / 0.554 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.6563, allocations: 6.703 kB / 0.554 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.6569, allocations: 238.8 kB / 0.5542 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6569, allocations: 0 / 0.5542 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6569, allocations: 3.375 kB / 0.5542 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.657, allocations: 0 / 0.5542 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.6572, allocations: 226.3 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6572, allocations: 1.203 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.6574, allocations: 23.22 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.6574, allocations: 0 / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6574, allocations: 7.562 kB / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6574, allocations: 0 / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6574, allocations: 0 / 0.5545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.6578, allocations: 178.2 kB / 0.5547 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.6579, allocations: 93.05 kB / 0.5547 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.6579, allocations: 0 / 0.5547 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.6581, allocations: 11.12 kB / 0.5548 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.6582, allocations: 11.05 kB / 0.5548 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.6582, allocations: 3.188 kB / 0.5548 GB, free: 14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.6584, allocations: 132.2 kB / 0.5549 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6584, allocations: 0 / 0.5549 GB, free: 13.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005312/0.6589, allocations: 130.9 kB / 0.555 GB, free: 13.9 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.001445/0.6604, allocations: 0.9393 MB / 0.5559 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.6607, allocations: 71.67 kB / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6607, allocations: 0.7188 kB / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.6608, allocations: 46.97 kB / 0.556 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.0002154/0.661, allocations: 13.56 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.002482/0.6635, allocations: 1.804 MB / 0.5578 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.6638, allocations: 0.6892 MB / 0.5585 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.6643, allocations: 433.9 kB / 0.5589 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.6644, allocations: 52 kB / 0.559 GB, free: 11.31 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6644, allocations: 0 / 0.559 GB, free: 11.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.6945, allocations: 6.637 MB / 0.5654 GB, free: 10.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.624, allocations: 10.2 kB / 0.5654 GB, free: 10.51 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.1.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