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.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001424/0.001424, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.424/1.424, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.00216/0.00216, allocations: 68.05 kB / 377.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2515, allocations: 53.41 MB / 431.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002488/0.254, allocations: 1.359 MB / 432.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/0.2824, allocations: 21.16 MB / 453.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.2824, allocations: 0 / 453.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.2825, allocations: 11.92 kB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.2972, allocations: 5.949 MB / 459.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.2981, allocations: 362.7 kB / 460 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2982, allocations: 83.62 kB / 460 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.2982, allocations: 0 / 460 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.2983, allocations: 39.89 kB / 460.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.2984, allocations: 35.84 kB / 460.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.2984, allocations: 7.984 kB / 460.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0152/0.3136, allocations: 8.389 MB / 468.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.3137, allocations: 15.92 kB / 468.5 MB, free: 1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.3137, allocations: 31.84 kB / 468.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00961/0.3233, allocations: 4.334 MB / 472.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3233, allocations: 0 / 472.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3233, allocations: 0 / 472.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3233, allocations: 4 kB / 472.9 MB, free: 12.62 MB / 382.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.002323/0.3257, allocations: 0.8602 MB / 473.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3257, allocations: 11.98 kB / 473.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3257, allocations: 38.73 kB / 473.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.3258, allocations: 8.891 kB / 473.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3259, allocations: 137.8 kB / 474 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.326, allocations: 7.984 kB / 474 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.326, allocations: 4 kB / 474 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3262, allocations: 126.7 kB / 474.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3262, allocations: 4 kB / 474.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3262, allocations: 0 / 474.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3262, allocations: 4 kB / 474.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3263, allocations: 27.98 kB / 474.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.3265, allocations: 157.6 kB / 474.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.3268, allocations: 97.11 kB / 474.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.3269, allocations: 33.77 kB / 474.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.3269, allocations: 11.94 kB / 474.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.327, allocations: 30.56 kB / 474.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.327, allocations: 8 kB / 474.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003172/0.3273, allocations: 97.55 kB / 474.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3274, allocations: 85.05 kB / 474.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3275, allocations: 141.8 kB / 474.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3275, allocations: 26.08 kB / 474.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.3276, allocations: 88.14 kB / 474.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3276, allocations: 19.8 kB / 474.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3276, allocations: 21.7 kB / 474.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3278, allocations: 322.7 kB / 475.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.3278, allocations: 19.98 kB / 475.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.3279, allocations: 29.7 kB / 475.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.328, allocations: 49.7 kB / 475.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.328, allocations: 0 / 475.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001894/0.3282, allocations: 90.05 kB / 475.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3282, allocations: 4 kB / 475.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3282, allocations: 4.125 kB / 475.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3283, allocations: 4 kB / 475.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.3283, allocations: 8 kB / 475.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3283, allocations: 4 kB / 475.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.3284, allocations: 11.89 kB / 475.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3284, allocations: 0 / 475.5 MB, free: 9.812 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 9.684e-05/0.3285, allocations: 122.4 kB / 475.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.3285, allocations: 4 kB / 475.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.3287, allocations: 93.59 kB / 475.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.3287, allocations: 7.984 kB / 475.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3287, allocations: 0 / 475.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3287, allocations: 0 / 475.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3289, allocations: 156.6 kB / 475.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3289, allocations: 0 / 475.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.3289, allocations: 11.98 kB / 475.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3289, allocations: 4 kB / 475.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.329, allocations: 4 kB / 475.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.329, allocations: 0 / 475.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.329, allocations: 3.938 kB / 475.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.3292, allocations: 113.8 kB / 476 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.3292, allocations: 15.94 kB / 476 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3292, allocations: 0 / 476 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.3293, allocations: 8 kB / 476 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3293, allocations: 11.98 kB / 476 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3293, allocations: 0 / 476 MB, free: 9.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.3294, allocations: 119.2 kB / 476.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3294, allocations: 288 / 476.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002277/0.3317, allocations: 0.9547 MB / 477.1 MB, free: 8.117 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.004233/0.3359, allocations: 1.876 MB / 479 MB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3361, allocations: 52 kB / 479 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3361, allocations: 0 / 479 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.3362, allocations: 28 kB / 479 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3365, allocations: 22.72 kB / 479.1 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3389, allocations: 1.804 MB / 480.9 MB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.339, allocations: 71.33 kB / 480.9 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.339, allocations: 8 kB / 480.9 MB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3391, allocations: 19.44 kB / 481 MB, free: 4.086 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3391, allocations: 0 / 481 MB, free: 4.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06829/0.4074, allocations: 30.09 MB / 0.4991 GB, free: 6.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.86, allocations: 3.938 kB / 0.4991 GB, free: 6.07 MB / 414.1 MB " [Timeout remaining time 647] (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: 18.020881758071482]