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.001715/0.001715, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002004/0.002004, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.394/1.394, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001705/0.001705, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2431, allocations: 53.37 MB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002776/0.2459, allocations: 1.382 MB / 432.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03202/0.2779, allocations: 23.82 MB / 456.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.278, allocations: 0 / 456.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.2782, allocations: 15.92 kB / 456.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01547/0.2936, allocations: 6.027 MB / 462.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.2945, allocations: 358.7 kB / 462.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2947, allocations: 83.62 kB / 462.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.2947, allocations: 0 / 462.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.2948, allocations: 31.92 kB / 462.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2949, allocations: 43.81 kB / 462.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2949, allocations: 4 kB / 462.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01701/0.3119, allocations: 9.052 MB / 471.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.312, allocations: 15.97 kB / 472 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.3121, allocations: 27.86 kB / 472 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009947/0.322, allocations: 4.393 MB / 476.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.322, allocations: 4 kB / 476.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.322, allocations: 0 / 476.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.322, allocations: 0 / 476.4 MB, free: 9.477 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.002303/0.3243, allocations: 0.8719 MB / 477.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3244, allocations: 8.031 kB / 477.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.3244, allocations: 42.69 kB / 477.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.3245, allocations: 8.875 kB / 477.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3246, allocations: 149.7 kB / 477.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3247, allocations: 0 / 477.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3247, allocations: 8 kB / 477.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3248, allocations: 67.39 kB / 477.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3249, allocations: 0 / 477.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3249, allocations: 0 / 477.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3249, allocations: 8 kB / 477.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.325, allocations: 35.91 kB / 477.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.3252, allocations: 165.6 kB / 477.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.3256, allocations: 97.11 kB / 477.8 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.3256, allocations: 29.77 kB / 477.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.3257, allocations: 8 kB / 477.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3257, allocations: 42.55 kB / 477.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3257, allocations: 0 / 477.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003356/0.3261, allocations: 101.5 kB / 478 MB, free: 7.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.3261, allocations: 77.11 kB / 478.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3263, allocations: 138.1 kB / 478.2 MB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3263, allocations: 25.7 kB / 478.2 MB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.3264, allocations: 88.14 kB / 478.3 MB, free: 7.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3264, allocations: 23.88 kB / 478.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.3264, allocations: 25.66 kB / 478.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3266, allocations: 318.8 kB / 478.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.3266, allocations: 15.98 kB / 478.7 MB, free: 6.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.3267, allocations: 33.64 kB / 478.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3268, allocations: 54.06 kB / 478.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3268, allocations: 4 kB / 478.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001973/0.327, allocations: 85.59 kB / 478.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.327, allocations: 4 kB / 478.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3271, allocations: 0 / 478.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3271, allocations: 4 kB / 478.9 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.3271, allocations: 11.98 kB / 478.9 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3271, allocations: 0 / 478.9 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.3272, allocations: 7.953 kB / 478.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.3272, allocations: 3.938 kB / 478.9 MB, free: 6.711 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 8.94e-05/0.3273, allocations: 121.8 kB / 479 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3273, allocations: 4 kB / 479 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3276, allocations: 101.6 kB / 479.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3276, allocations: 0 / 479.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3276, allocations: 4 kB / 479.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3276, allocations: 0 / 479.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3277, allocations: 156.5 kB / 479.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3277, allocations: 0 / 479.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.3278, allocations: 15.94 kB / 479.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3278, allocations: 0 / 479.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3278, allocations: 8 kB / 479.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3278, allocations: 0 / 479.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3278, allocations: 0 / 479.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.328, allocations: 110 kB / 479.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.328, allocations: 15.94 kB / 479.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3281, allocations: 8 kB / 479.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.3281, allocations: 3.984 kB / 479.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3282, allocations: 7.984 kB / 479.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3282, allocations: 11.94 kB / 479.5 MB, free: 6.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.346e-05/0.3283, allocations: 115.1 kB / 479.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3283, allocations: 0 / 479.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002424/0.3307, allocations: 0.9547 MB / 480.5 MB, free: 5.008 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.004883/0.3356, allocations: 1.876 MB / 482.4 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3358, allocations: 55.89 kB / 482.5 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.3358, allocations: 0 / 482.5 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.3359, allocations: 27.92 kB / 482.5 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3361, allocations: 28.95 kB / 482.5 MB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.339, allocations: 1.802 MB / 484.3 MB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3393, allocations: 0.6845 MB / 485 MB, free: 388 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.3394, allocations: 15.97 kB / 485 MB, free: 372 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.3394, allocations: 19.44 kB / 485 MB, free: 352 kB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3394, allocations: 0 / 485 MB, free: 352 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0702/0.4096, allocations: 29.55 MB / 0.5025 GB, free: 2.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.62, allocations: 7.922 kB / 0.5025 GB, free: 2.879 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.280993588035926]