Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2636, allocations: 53.37 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002475/0.2661, allocations: 1.374 MB / 432.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3857/0.6518, allocations: 152.1 MB / 0.5709 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.6518, allocations: 4 kB / 0.5709 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.6518, allocations: 0 / 0.5709 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.6526, allocations: 245.1 kB / 0.5711 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.6536, allocations: 410.2 kB / 0.5715 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.6537, allocations: 54.58 kB / 0.5716 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.6537, allocations: 7.672 kB / 0.5716 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.6538, allocations: 18.89 kB / 0.5716 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.6539, allocations: 39.53 kB / 0.5716 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.6539, allocations: 4.891 kB / 0.5716 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.655, allocations: 0.7069 MB / 0.5723 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.655, allocations: 8.359 kB / 0.5723 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.6551, allocations: 22.88 kB / 0.5724 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.6558, allocations: 0.4888 MB / 0.5728 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6558, allocations: 0 / 0.5728 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6558, allocations: 2.094 kB / 0.5728 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.6558, allocations: 0 / 0.5728 GB, free: 12.86 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.0005455/0.6563, allocations: 362.5 kB / 0.5732 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6564, allocations: 10.16 kB / 0.5732 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.6564, allocations: 41.06 kB / 0.5732 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.6577, allocations: 101.6 kB / 0.5733 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.6579, allocations: 167.6 kB / 0.5735 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.658, allocations: 6.625 kB / 0.5735 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.658, allocations: 6.219 kB / 0.5735 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.6582, allocations: 88.34 kB / 0.5736 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.6582, allocations: 0 / 0.5736 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.6582, allocations: 0 / 0.5736 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.6582, allocations: 2.625 kB / 0.5736 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.6584, allocations: 48.02 kB / 0.5736 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.6586, allocations: 183.6 kB / 0.5738 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.6591, allocations: 124.8 kB / 0.5739 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.6592, allocations: 37.16 kB / 0.574 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.6594, allocations: 99.2 kB / 0.5741 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.6594, allocations: 36.44 kB / 0.5741 GB, free: 12.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.6594, allocations: 3.938 kB / 0.5741 GB, free: 12.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004374/0.6599, allocations: 133.9 kB / 0.5742 GB, free: 11.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6599, allocations: 79.39 kB / 0.5743 GB, free: 11.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.6601, allocations: 157.1 kB / 0.5745 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.6601, allocations: 31.67 kB / 0.5745 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.6602, allocations: 80.14 kB / 0.5746 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.6602, allocations: 24.84 kB / 0.5746 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.6603, allocations: 33.78 kB / 0.5746 GB, free: 11.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6604, allocations: 319.8 kB / 0.5749 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.6605, allocations: 26.86 kB / 0.5749 GB, free: 11.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6606, allocations: 59.19 kB / 0.575 GB, free: 11.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.6608, allocations: 77.83 kB / 0.5751 GB, free: 11.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6608, allocations: 3.938 kB / 0.5751 GB, free: 11.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003092/0.6611, allocations: 120.5 kB / 0.5752 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6611, allocations: 9.25 kB / 0.5752 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.6611, allocations: 2.5 kB / 0.5752 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6611, allocations: 1.969 kB / 0.5752 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6613, allocations: 26.62 kB / 0.5752 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6613, allocations: 4.672 kB / 0.5752 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.6615, allocations: 5.406 kB / 0.5752 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.6615, allocations: 4.844 kB / 0.5752 GB, free: 11.2 MB / 462.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 9.237e-05/0.6616, allocations: 121.5 kB / 0.5754 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.6616, allocations: 13.2 kB / 0.5754 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.6622, allocations: 241.3 kB / 0.5756 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6622, allocations: 1.844 kB / 0.5756 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.6622, allocations: 3.219 kB / 0.5756 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6622, allocations: 64 / 0.5756 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.6624, allocations: 210.4 kB / 0.5758 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6624, allocations: 1.203 kB / 0.5758 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.6626, allocations: 18.98 kB / 0.5758 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.6626, allocations: 3.938 kB / 0.5758 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.6626, allocations: 5.656 kB / 0.5758 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6626, allocations: 0 / 0.5758 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6626, allocations: 0 / 0.5758 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.663, allocations: 181.4 kB / 0.576 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.663, allocations: 22.52 kB / 0.576 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.6631, allocations: 2.344 kB / 0.576 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6632, allocations: 10.11 kB / 0.576 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.6633, allocations: 9.688 kB / 0.5761 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6633, allocations: 2.688 kB / 0.5761 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.6634, allocations: 132.2 kB / 0.5762 GB, free: 10.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6634, allocations: 4.062 kB / 0.5762 GB, free: 10.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.6639, allocations: 131.1 kB / 0.5763 GB, free: 10.66 MB / 462.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.001176/0.6651, allocations: 0.9164 MB / 0.5772 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.6654, allocations: 77.86 kB / 0.5773 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6654, allocations: 0 / 0.5773 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.6655, allocations: 37.78 kB / 0.5773 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.6657, allocations: 11.53 kB / 0.5773 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.6682, allocations: 1.795 MB / 0.5791 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.6685, allocations: 0.6876 MB / 0.5798 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004832/0.669, allocations: 439 kB / 0.5802 GB, free: 7.969 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.6691, allocations: 46.08 kB / 0.5802 GB, free: 7.961 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6691, allocations: 0 / 0.5802 GB, free: 7.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.7043, allocations: 6.775 MB / 0.5868 GB, free: 4.809 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.83, allocations: 13.62 kB / 0.5868 GB, free: 4.801 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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.00019992 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.28530191200116]