Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 60.14 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 53.37 MB / 426.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002731/0.1079, allocations: 1.387 MB / 427.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2372/0.3451, allocations: 23.69 MB / 451.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.3451, allocations: 1.188 kB / 451.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.3453, allocations: 6.609 kB / 451.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02038/0.3657, allocations: 6.019 MB / 457.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009527/0.3666, allocations: 338.1 kB / 457.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3668, allocations: 79.97 kB / 457.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.3668, allocations: 2.406 kB / 457.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.3669, allocations: 39.64 kB / 457.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.367, allocations: 43.17 kB / 457.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.367, allocations: 4.125 kB / 457.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02053/0.3875, allocations: 9.011 MB / 467 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.3876, allocations: 11.83 kB / 467 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.3877, allocations: 27.02 kB / 467 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.4014, allocations: 4.395 MB / 471.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4014, allocations: 0 / 471.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4014, allocations: 0 / 471.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.4014, allocations: 0 / 471.4 MB, free: 2.074 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.003584/0.405, allocations: 0.9502 MB / 472.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.405, allocations: 12.47 kB / 472.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.4051, allocations: 33.12 kB / 472.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.4051, allocations: 7.891 kB / 472.4 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4054, allocations: 206.8 kB / 472.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4054, allocations: 0 / 472.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.4054, allocations: 6 kB / 472.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.4056, allocations: 69.42 kB / 472.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4056, allocations: 3.938 kB / 472.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4056, allocations: 5.25 kB / 472.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4056, allocations: 1.062 kB / 472.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.4058, allocations: 35.22 kB / 472.7 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.406, allocations: 195 kB / 472.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.4064, allocations: 94.17 kB / 473 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.4064, allocations: 26.5 kB / 473 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.4065, allocations: 13.02 kB / 473 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.4065, allocations: 41.34 kB / 473.1 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4065, allocations: 0 / 473.1 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000346/0.4069, allocations: 99.8 kB / 473.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.407, allocations: 82.64 kB / 473.3 MB, free: 452 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.4071, allocations: 135.3 kB / 473.4 MB, free: 336 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.4071, allocations: 25.7 kB / 473.4 MB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.4072, allocations: 90.66 kB / 473.5 MB, free: 212 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.4072, allocations: 21.42 kB / 473.5 MB, free: 192 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.4073, allocations: 23.5 kB / 473.5 MB, free: 168 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4074, allocations: 320.3 kB / 473.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.4075, allocations: 24.61 kB / 473.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.4076, allocations: 30.45 kB / 473.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4077, allocations: 50.17 kB / 474 MB, free: 15.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4077, allocations: 0 / 474 MB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000194/0.4079, allocations: 76.23 kB / 474 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4079, allocations: 9.859 kB / 474 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4079, allocations: 0 / 474 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4079, allocations: 6.594 kB / 474 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.408, allocations: 12.09 kB / 474.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.408, allocations: 2.094 kB / 474.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.4081, allocations: 3.953 kB / 474.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4081, allocations: 5.312 kB / 474.1 MB, free: 15.72 MB / 382.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 0.0001032/0.4082, allocations: 117.8 kB / 474.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.4082, allocations: 7.484 kB / 474.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.4084, allocations: 98.02 kB / 474.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4084, allocations: 1.969 kB / 474.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4085, allocations: 0 / 474.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4085, allocations: 9.953 kB / 474.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.4086, allocations: 188.8 kB / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4086, allocations: 0 / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.4087, allocations: 13.55 kB / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4087, allocations: 1.625 kB / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.4087, allocations: 1.594 kB / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4087, allocations: 0.875 kB / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4087, allocations: 2.344 kB / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.4089, allocations: 117.9 kB / 474.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.409, allocations: 87.8 kB / 474.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.409, allocations: 1.375 kB / 474.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.4091, allocations: 3.438 kB / 474.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.4092, allocations: 10.73 kB / 474.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4092, allocations: 10.45 kB / 474.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.397e-05/0.4093, allocations: 119.8 kB / 474.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4093, allocations: 1.375 kB / 474.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003347/0.4126, allocations: 0.9583 MB / 475.8 MB, free: 14.76 MB / 382.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.006337/0.4189, allocations: 1.882 MB / 477.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.4192, allocations: 43.91 kB / 477.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4192, allocations: 0 / 477.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.4192, allocations: 31.92 kB / 477.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4195, allocations: 14.17 kB / 477.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.4232, allocations: 1.798 MB / 479.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4235, allocations: 0.6885 MB / 480.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.4235, allocations: 15.98 kB / 480.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.4236, allocations: 23.44 kB / 480.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4236, allocations: 0 / 480.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06778/0.4914, allocations: 29.44 MB / 0.4978 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.955/9.447, allocations: 7.859 kB / 0.4978 GB, free: 12.9 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.768832831992768]