Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 187.5 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 43.92 kB / 370.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2572, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00261/0.2598, allocations: 1.351 MB / 423.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02964/0.2894, allocations: 21.09 MB / 445 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.2895, allocations: 0 / 445 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2896, allocations: 7.922 kB / 445 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.3049, allocations: 5.941 MB / 451 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.3058, allocations: 374.7 kB / 451.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.3059, allocations: 71.66 kB / 451.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.306, allocations: 7.969 kB / 451.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.306, allocations: 31.92 kB / 451.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.3061, allocations: 39.83 kB / 451.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3061, allocations: 4 kB / 451.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01589/0.322, allocations: 8.351 MB / 459.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.3221, allocations: 11.98 kB / 459.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.3221, allocations: 27.92 kB / 459.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3325, allocations: 4.315 MB / 464.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3325, allocations: 0 / 464.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3325, allocations: 0 / 464.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3325, allocations: 4 kB / 464.2 MB, free: 4.664 MB / 366.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.002386/0.3349, allocations: 0.8524 MB / 465 MB, free: 3.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.335, allocations: 12.03 kB / 465 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.335, allocations: 34.75 kB / 465.1 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.335, allocations: 12.83 kB / 465.1 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3352, allocations: 141.8 kB / 465.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3352, allocations: 4 kB / 465.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3353, allocations: 4 kB / 465.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3355, allocations: 118.8 kB / 465.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3355, allocations: 4 kB / 465.4 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3355, allocations: 4 kB / 465.4 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3355, allocations: 3.984 kB / 465.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3356, allocations: 35.91 kB / 465.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.3359, allocations: 165.6 kB / 465.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.3362, allocations: 97.11 kB / 465.7 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/0.3362, allocations: 33.7 kB / 465.7 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.3363, allocations: 8 kB / 465.7 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3363, allocations: 38.55 kB / 465.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3363, allocations: 4 kB / 465.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003215/0.3366, allocations: 101.6 kB / 465.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3367, allocations: 77.11 kB / 465.9 MB, free: 2.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3368, allocations: 133.8 kB / 466 MB, free: 2.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3369, allocations: 29.7 kB / 466.1 MB, free: 2.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.3369, allocations: 84.14 kB / 466.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.3369, allocations: 23.84 kB / 466.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.337, allocations: 17.72 kB / 466.2 MB, free: 2.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3371, allocations: 318.8 kB / 466.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.3372, allocations: 23.98 kB / 466.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.3373, allocations: 29.64 kB / 466.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3374, allocations: 53.69 kB / 466.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3374, allocations: 0 / 466.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001915/0.3376, allocations: 85.56 kB / 466.7 MB, free: 1.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3376, allocations: 6.188 kB / 466.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3376, allocations: 0 / 466.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3376, allocations: 0 / 466.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.3377, allocations: 15.98 kB / 466.7 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3377, allocations: 4 kB / 466.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.3377, allocations: 4.406 kB / 466.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3377, allocations: 4 kB / 466.7 MB, free: 1.867 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 9.079e-05/0.3378, allocations: 121.7 kB / 466.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3379, allocations: 7.953 kB / 466.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.3381, allocations: 101.6 kB / 467 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3381, allocations: 0 / 467 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3381, allocations: 0 / 467 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3381, allocations: 4 kB / 467 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3383, allocations: 152.8 kB / 467.1 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3383, allocations: 0 / 467.1 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.3383, allocations: 16.3 kB / 467.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3383, allocations: 0 / 467.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3384, allocations: 4 kB / 467.1 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3384, allocations: 0 / 467.1 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3384, allocations: 3.938 kB / 467.1 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.3386, allocations: 117.9 kB / 467.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.3386, allocations: 7.938 kB / 467.3 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3386, allocations: 4 kB / 467.3 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.3387, allocations: 7.984 kB / 467.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3388, allocations: 8 kB / 467.3 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3388, allocations: 7.984 kB / 467.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.584e-05/0.3389, allocations: 115.1 kB / 467.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3389, allocations: 0 / 467.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002575/0.3414, allocations: 0.9469 MB / 468.3 MB, free: 180 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 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.005145/0.3466, allocations: 1.887 MB / 470.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3468, allocations: 51.89 kB / 470.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3468, allocations: 0 / 470.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.3469, allocations: 31.92 kB / 470.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.3472, allocations: 15.98 kB / 470.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.3499, allocations: 1.796 MB / 472.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.921e-05/0.35, allocations: 71.25 kB / 472.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.35, allocations: 19.91 kB / 472.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.3501, allocations: 19.44 kB / 472.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3501, allocations: 4 kB / 472.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0744/0.4245, allocations: 29.95 MB / 0.4904 GB, free: 14.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.89, allocations: 0 / 0.4904 GB, free: 14.3 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable s2 in file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.411935578100383]