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.0008019/0.0008019, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008087/0.0008087, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8661/0.8661, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.492e-06/1.492e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.689e-05, allocations: 3.125 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001474/0.001491, allocations: 1.359 MB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.01954, allocations: 21.17 MB / 347 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.01958, allocations: 0 / 347 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.01969, allocations: 7.938 kB / 347.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.02977, allocations: 6.006 MB / 353.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.03029, allocations: 366.4 kB / 353.4 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.03039, allocations: 79.62 kB / 353.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.03043, allocations: 4 kB / 353.5 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.03049, allocations: 47.88 kB / 353.5 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.03057, allocations: 35.89 kB / 353.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.03059, allocations: 0 / 353.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009848/0.04044, allocations: 8.42 MB / 362 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.04049, allocations: 11.98 kB / 362 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.04053, allocations: 23.92 kB / 362 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006502/0.04703, allocations: 5.492 MB / 367.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.04703, allocations: 3.938 kB / 367.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.04704, allocations: 0 / 367.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.04704, allocations: 0 / 367.5 MB, free: 4.758 MB / 330.7 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.001245/0.04829, allocations: 0.8641 MB / 368.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.04834, allocations: 15.97 kB / 368.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.04838, allocations: 30.75 kB / 368.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.04843, allocations: 12.89 kB / 368.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.04858, allocations: 137.6 kB / 368.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.0486, allocations: 8.125 kB / 368.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.04862, allocations: 4 kB / 368.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.04879, allocations: 126.8 kB / 368.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.0488, allocations: 0 / 368.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.04881, allocations: 0 / 368.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.04882, allocations: 4 kB / 368.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/0.0489, allocations: 35.91 kB / 368.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.04908, allocations: 153.7 kB / 368.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.04933, allocations: 97.17 kB / 369 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.04938, allocations: 33.7 kB / 369 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.04944, allocations: 11.94 kB / 369.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.04947, allocations: 38.56 kB / 369.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.04947, allocations: 0 / 369.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002675/0.04973, allocations: 97.92 kB / 369.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.04978, allocations: 85.09 kB / 369.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.04989, allocations: 133.8 kB / 369.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.04991, allocations: 29.7 kB / 369.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.04995, allocations: 84.14 kB / 369.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.04998, allocations: 19.86 kB / 369.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.05001, allocations: 29.64 kB / 369.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.0501, allocations: 315.2 kB / 369.9 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.05014, allocations: 15.98 kB / 369.9 MB, free: 2.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/0.05018, allocations: 33.7 kB / 369.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.05026, allocations: 57.56 kB / 370 MB, free: 2.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.05026, allocations: 3.938 kB / 370 MB, free: 2.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001059/0.05037, allocations: 77.66 kB / 370 MB, free: 1.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.05038, allocations: 4 kB / 370.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.05039, allocations: 11.94 kB / 370.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.0504, allocations: 0 / 370.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.05044, allocations: 8 kB / 370.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.05045, allocations: 0 / 370.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.05047, allocations: 11.89 kB / 370.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.05048, allocations: 7.984 kB / 370.1 MB, free: 1.945 MB / 330.7 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 6.319e-05/0.05054, allocations: 113.8 kB / 370.2 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.05055, allocations: 4 kB / 370.2 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.05072, allocations: 101.6 kB / 370.3 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.05072, allocations: 8 kB / 370.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.05073, allocations: 4.125 kB / 370.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.05073, allocations: 0 / 370.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.704e-05/0.05083, allocations: 148.6 kB / 370.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.05083, allocations: 0 / 370.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.05086, allocations: 15.98 kB / 370.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.05086, allocations: 0 / 370.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.05087, allocations: 0 / 370.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.05087, allocations: 0 / 370.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.05087, allocations: 4 kB / 370.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.05099, allocations: 117.8 kB / 370.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.05103, allocations: 11.94 kB / 370.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.05105, allocations: 0 / 370.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.05108, allocations: 4 kB / 370.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.05113, allocations: 12.17 kB / 370.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.05113, allocations: 0 / 370.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.05118, allocations: 115.2 kB / 370.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05118, allocations: 0 / 370.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001317/0.0525, allocations: 0.9624 MB / 371.7 MB, free: 260 kB / 330.7 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.002744/0.05525, allocations: 2.028 MB / 373.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.05538, allocations: 44.19 kB / 373.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.05538, allocations: 4 kB / 373.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.05542, allocations: 19.98 kB / 373.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.05559, allocations: 19.92 kB / 373.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.05714, allocations: 1.791 MB / 375.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.05719, allocations: 67.34 kB / 375.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.859e-05/0.05723, allocations: 19.75 kB / 375.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.05727, allocations: 28.5 kB / 375.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.05727, allocations: 0 / 375.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/0.09737, allocations: 30.37 MB / 406.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/7.772, allocations: 11.88 kB / 406.1 MB, free: 13.77 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 13.159466347657144]