Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000856/0.000856, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8707/0.8707, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.702e-05, allocations: 8.953 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00156/0.001577, allocations: 1.359 MB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01779/0.01936, allocations: 21.17 MB / 347.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.0194, allocations: 3.938 kB / 347.1 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.892e-05/0.01949, allocations: 7.922 kB / 347.1 MB, free: 9.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008978/0.02847, allocations: 6.008 MB / 353.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.02893, allocations: 370.4 kB / 353.5 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.359e-05/0.02902, allocations: 79.62 kB / 353.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.02906, allocations: 0 / 353.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.02912, allocations: 47.89 kB / 353.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.02919, allocations: 43.81 kB / 353.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.02921, allocations: 4 kB / 353.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009476/0.03868, allocations: 8.41 MB / 362 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.03872, allocations: 15.92 kB / 362.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.03876, allocations: 23.97 kB / 362.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.04486, allocations: 5.488 MB / 367.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.04486, allocations: 0 / 367.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04486, allocations: 0 / 367.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.04487, allocations: 0 / 367.6 MB, free: 4.812 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.001331/0.0462, allocations: 0.868 MB / 368.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.04624, allocations: 8.031 kB / 368.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.04627, allocations: 42.75 kB / 368.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.04631, allocations: 8.828 kB / 368.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.04642, allocations: 145.6 kB / 368.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.04644, allocations: 4.125 kB / 368.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.04645, allocations: 8 kB / 368.7 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.0466, allocations: 114.8 kB / 368.8 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.04661, allocations: 0 / 368.8 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.04662, allocations: 4 kB / 368.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.04662, allocations: 0 / 368.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.0467, allocations: 39.91 kB / 368.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.04684, allocations: 157.7 kB / 369 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.04705, allocations: 93.12 kB / 369.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.0471, allocations: 33.7 kB / 369.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.04714, allocations: 11.98 kB / 369.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.04716, allocations: 34.56 kB / 369.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.04716, allocations: 0 / 369.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002109/0.04737, allocations: 101.5 kB / 369.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.0474, allocations: 77.11 kB / 369.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.04749, allocations: 141.8 kB / 369.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.04751, allocations: 25.7 kB / 369.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.04754, allocations: 88.14 kB / 369.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.04757, allocations: 19.83 kB / 369.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.0476, allocations: 21.72 kB / 369.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.04767, allocations: 318.8 kB / 369.9 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.04771, allocations: 16 kB / 369.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.04774, allocations: 33.7 kB / 370 MB, free: 2.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.039e-05/0.04782, allocations: 61.94 kB / 370 MB, free: 2.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.04783, allocations: 4 kB / 370 MB, free: 2.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000103/0.04793, allocations: 77.59 kB / 370.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.04794, allocations: 8.375 kB / 370.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.04795, allocations: 0 / 370.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.04796, allocations: 3.938 kB / 370.1 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.048, allocations: 15.98 kB / 370.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.048, allocations: 7.938 kB / 370.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.04803, allocations: 7.891 kB / 370.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.04803, allocations: 4 kB / 370.1 MB, free: 1.992 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 5.548e-05/0.04809, allocations: 113.8 kB / 370.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.0481, allocations: 8 kB / 370.3 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.04825, allocations: 97.58 kB / 370.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.04825, allocations: 0 / 370.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.04825, allocations: 0 / 370.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.04826, allocations: 0 / 370.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.371e-05/0.04834, allocations: 152.6 kB / 370.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.04834, allocations: 0 / 370.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.04837, allocations: 12 kB / 370.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.04837, allocations: 0 / 370.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.04837, allocations: 4 kB / 370.5 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.04838, allocations: 4 kB / 370.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.04838, allocations: 3.938 kB / 370.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.0485, allocations: 109.9 kB / 370.6 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.04853, allocations: 11.94 kB / 370.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.04855, allocations: 3.984 kB / 370.7 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.04858, allocations: 8.188 kB / 370.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.04862, allocations: 7.984 kB / 370.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.04863, allocations: 4 kB / 370.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.827e-05/0.04867, allocations: 111.3 kB / 370.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04867, allocations: 4 kB / 370.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001233/0.04991, allocations: 0.9586 MB / 371.7 MB, free: 316 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.002783/0.05269, allocations: 2.024 MB / 373.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.05283, allocations: 47.91 kB / 373.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.05283, allocations: 0 / 373.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.05287, allocations: 23.98 kB / 373.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.05305, allocations: 19.98 kB / 373.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.05477, allocations: 1.797 MB / 375.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.078e-05/0.05481, allocations: 67.33 kB / 375.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.05488, allocations: 19.77 kB / 375.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.05493, allocations: 24.48 kB / 375.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05493, allocations: 0 / 375.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/0.09638, allocations: 30.39 MB / 406.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.699, allocations: 8 kB / 406.2 MB, free: 13.84 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.176274980418384]