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.001398/0.001398, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001518/0.001518, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001973/0.001973, allocations: 63.89 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2521, allocations: 53.41 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002484/0.2546, allocations: 1.387 MB / 432.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03107/0.2857, allocations: 23.82 MB / 456.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.2857, allocations: 0 / 456.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.2858, allocations: 3.938 kB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.3015, allocations: 6.035 MB / 462.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.3024, allocations: 370.7 kB / 462.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.3025, allocations: 79.58 kB / 462.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3026, allocations: 7.938 kB / 462.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.3026, allocations: 31.91 kB / 462.9 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3027, allocations: 39.89 kB / 462.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3028, allocations: 8 kB / 462.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01678/0.3195, allocations: 9.049 MB / 472 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.3196, allocations: 15.98 kB / 472 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.3196, allocations: 31.86 kB / 472 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.3304, allocations: 4.397 MB / 476.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3304, allocations: 0 / 476.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3304, allocations: 0 / 476.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3304, allocations: 0 / 476.4 MB, free: 9.348 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.002276/0.3327, allocations: 0.868 MB / 477.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3327, allocations: 8.031 kB / 477.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.3327, allocations: 34.75 kB / 477.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.3328, allocations: 8.891 kB / 477.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.333, allocations: 145.8 kB / 477.5 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.333, allocations: 7.938 kB / 477.5 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.333, allocations: 3.938 kB / 477.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3332, allocations: 75.39 kB / 477.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3332, allocations: 0 / 477.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3332, allocations: 0 / 477.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3332, allocations: 0 / 477.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3333, allocations: 39.97 kB / 477.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.3336, allocations: 165.5 kB / 477.8 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3339, allocations: 93.16 kB / 477.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.334, allocations: 29.78 kB / 477.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.809e-05/0.3341, allocations: 11.98 kB / 477.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3341, allocations: 42.5 kB / 478 MB, free: 7.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3341, allocations: 0 / 478 MB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003211/0.3344, allocations: 101.5 kB / 478.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3345, allocations: 77.11 kB / 478.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3346, allocations: 141.8 kB / 478.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3346, allocations: 29.7 kB / 478.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.3347, allocations: 88.12 kB / 478.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.3347, allocations: 19.8 kB / 478.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.3347, allocations: 21.72 kB / 478.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3349, allocations: 318.8 kB / 478.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.3349, allocations: 19.98 kB / 478.8 MB, free: 6.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.335, allocations: 33.7 kB / 478.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3351, allocations: 49.64 kB / 478.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3351, allocations: 0 / 478.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001903/0.3353, allocations: 77.67 kB / 478.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3354, allocations: 7.984 kB / 478.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3354, allocations: 0 / 478.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3354, allocations: 4 kB / 478.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.3354, allocations: 11.94 kB / 478.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3354, allocations: 4 kB / 478.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.3355, allocations: 3.953 kB / 478.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3355, allocations: 4 kB / 478.9 MB, free: 6.598 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.48e-05/0.3356, allocations: 121.8 kB / 479.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3356, allocations: 4 kB / 479.1 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3359, allocations: 102 kB / 479.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3359, allocations: 0 / 479.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.3359, allocations: 4 kB / 479.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3359, allocations: 12.06 kB / 479.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.336, allocations: 160.5 kB / 479.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.336, allocations: 0 / 479.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.3361, allocations: 11.98 kB / 479.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3361, allocations: 0 / 479.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3361, allocations: 4.125 kB / 479.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3361, allocations: 4 kB / 479.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3361, allocations: 0 / 479.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.3363, allocations: 117.8 kB / 479.5 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.3364, allocations: 11.94 kB / 479.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.3364, allocations: 0 / 479.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.3365, allocations: 8 kB / 479.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.3365, allocations: 8.359 kB / 479.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3365, allocations: 0 / 479.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.589e-05/0.3366, allocations: 123.1 kB / 479.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3366, allocations: 0 / 479.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002558/0.3392, allocations: 0.9586 MB / 480.6 MB, free: 4.883 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.004923/0.3441, allocations: 1.875 MB / 482.5 MB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3444, allocations: 52.03 kB / 482.5 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3444, allocations: 0 / 482.5 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.3445, allocations: 23.98 kB / 482.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.3447, allocations: 18.75 kB / 482.6 MB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.3478, allocations: 1.804 MB / 484.4 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3481, allocations: 0.6885 MB / 485 MB, free: 268 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.3482, allocations: 16.34 kB / 485.1 MB, free: 252 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.3482, allocations: 27.42 kB / 485.1 MB, free: 224 kB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3482, allocations: 0 / 485.1 MB, free: 224 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06919/0.4174, allocations: 29.54 MB / 0.5026 GB, free: 2.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.61, allocations: 4.062 kB / 0.5026 GB, free: 2.746 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.121915386000182]