Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 43.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2247, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002457/0.2272, allocations: 1.381 MB / 424.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02975/0.2569, allocations: 23.73 MB / 448.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.257, allocations: 0 / 448.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2571, allocations: 11.86 kB / 448.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.2716, allocations: 6.013 MB / 454.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/0.2724, allocations: 370.7 kB / 454.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.2726, allocations: 79.69 kB / 455 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.2726, allocations: 4 kB / 455 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.2727, allocations: 27.92 kB / 455 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.2728, allocations: 39.89 kB / 455.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.2728, allocations: 4 kB / 455.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01723/0.29, allocations: 9.019 MB / 464.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.2901, allocations: 15.92 kB / 464.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.2901, allocations: 27.86 kB / 464.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.3006, allocations: 4.373 MB / 468.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3006, allocations: 0 / 468.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3006, allocations: 0 / 468.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3006, allocations: 0 / 468.5 MB, free: 1.422 MB / 366.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.002374/0.303, allocations: 0.868 MB / 469.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.303, allocations: 12.03 kB / 469.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.303, allocations: 192 / 469.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.303, allocations: 38.67 kB / 469.4 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.3031, allocations: 4.938 kB / 469.4 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3033, allocations: 141.6 kB / 469.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3033, allocations: 4 kB / 469.6 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3033, allocations: 3.938 kB / 469.6 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.3035, allocations: 79.38 kB / 469.6 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.3035, allocations: 0 / 469.6 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3035, allocations: 0 / 469.6 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3035, allocations: 0 / 469.6 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3036, allocations: 39.95 kB / 469.7 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.3038, allocations: 173.5 kB / 469.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3042, allocations: 97.17 kB / 469.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.3042, allocations: 25.77 kB / 470 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.3043, allocations: 8 kB / 470 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3043, allocations: 42.5 kB / 470 MB, free: 15.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3043, allocations: 4 kB / 470 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003212/0.3046, allocations: 97.58 kB / 470.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.3047, allocations: 81.11 kB / 470.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3048, allocations: 133.8 kB / 470.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3048, allocations: 29.7 kB / 470.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3049, allocations: 84.14 kB / 470.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.3049, allocations: 15.86 kB / 470.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.305, allocations: 21.7 kB / 470.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3051, allocations: 330.7 kB / 470.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.3052, allocations: 15.98 kB / 470.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.3053, allocations: 29.7 kB / 470.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3054, allocations: 53.64 kB / 470.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3054, allocations: 0 / 470.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002008/0.3056, allocations: 85.98 kB / 471 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3056, allocations: 4 kB / 471 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3056, allocations: 0 / 471 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3056, allocations: 0 / 471 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.3057, allocations: 19.88 kB / 471 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3057, allocations: 0 / 471 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.3057, allocations: 7.922 kB / 471 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3057, allocations: 11.94 kB / 471 MB, free: 14.66 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.32e-05/0.3058, allocations: 109.8 kB / 471.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3059, allocations: 12.42 kB / 471.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.3061, allocations: 101.6 kB / 471.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3061, allocations: 128 / 471.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3061, allocations: 4 kB / 471.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3061, allocations: 4 kB / 471.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3063, allocations: 144.7 kB / 471.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3063, allocations: 4 kB / 471.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.3063, allocations: 11.98 kB / 471.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3063, allocations: 0 / 471.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3064, allocations: 8 kB / 471.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3064, allocations: 0 / 471.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3064, allocations: 0 / 471.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.3066, allocations: 117.8 kB / 471.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.3066, allocations: 7.984 kB / 471.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3066, allocations: 4 kB / 471.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.3067, allocations: 11.98 kB / 471.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3067, allocations: 4 kB / 471.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3068, allocations: 7.922 kB / 471.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.3068, allocations: 111.3 kB / 471.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3068, allocations: 0 / 471.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00261/0.3095, allocations: 0.9508 MB / 472.6 MB, free: 12.98 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.005404/0.3149, allocations: 1.886 MB / 474.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3151, allocations: 59.89 kB / 474.6 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3151, allocations: 0 / 474.6 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.3152, allocations: 27.98 kB / 474.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.3154, allocations: 19.92 kB / 474.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.3184, allocations: 1.793 MB / 476.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3187, allocations: 0.6846 MB / 477.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.3188, allocations: 11.97 kB / 477.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.3188, allocations: 19.44 kB / 477.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3188, allocations: 0 / 477.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06219/0.381, allocations: 29.46 MB / 0.4947 GB, free: 10.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.02, allocations: 3.125 kB / 0.4947 GB, free: 10.99 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 22.22855060599977]