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.001396/0.001396, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001565/0.001565, allocations: 215 kB / 21.45 MB, free: 1.617 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.379/1.379, allocations: 230.6 MB / 254.8 MB, free: 15.25 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 51.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.0936, allocations: 53.33 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002448/0.09605, allocations: 1.383 MB / 428.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2094/0.3054, allocations: 23.69 MB / 452.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.3055, allocations: 0 / 452.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.3056, allocations: 8.25 kB / 452.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.3197, allocations: 6.012 MB / 458.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.3204, allocations: 355.6 kB / 458.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3206, allocations: 81.09 kB / 458.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3206, allocations: 2.984 kB / 458.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.3207, allocations: 30.61 kB / 458.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.3208, allocations: 41.45 kB / 458.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3208, allocations: 7.375 kB / 458.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/0.338, allocations: 9.003 MB / 467.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.3381, allocations: 12.7 kB / 467.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.3381, allocations: 37.84 kB / 467.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.3487, allocations: 4.391 MB / 472.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3487, allocations: 1.156 kB / 472.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3487, allocations: 0 / 472.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.3487, allocations: 0 / 472.1 MB, free: 3.676 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.003013/0.3517, allocations: 0.947 MB / 473 MB, free: 2.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3518, allocations: 11.73 kB / 473 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.336e-05/0.3518, allocations: 1.906 kB / 473 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.864e-05/0.3518, allocations: 30.75 kB / 473 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.3519, allocations: 8.078 kB / 473.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.352, allocations: 210 kB / 473.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.352, allocations: 1.062 kB / 473.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.352, allocations: 3.766 kB / 473.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3522, allocations: 73.89 kB / 473.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3522, allocations: 3.844 kB / 473.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3522, allocations: 1.062 kB / 473.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3522, allocations: 1.188 kB / 473.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3523, allocations: 39.16 kB / 473.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3525, allocations: 185.4 kB / 473.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3528, allocations: 96.27 kB / 473.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.3528, allocations: 31.05 kB / 473.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.3529, allocations: 10.64 kB / 473.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.3529, allocations: 43.58 kB / 473.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3529, allocations: 4 kB / 473.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002921/0.3532, allocations: 100.5 kB / 473.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.3532, allocations: 78.42 kB / 473.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.3533, allocations: 135 kB / 474.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.3533, allocations: 31.23 kB / 474.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.3533, allocations: 81.64 kB / 474.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.3534, allocations: 28.8 kB / 474.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3534, allocations: 21.31 kB / 474.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.3534, allocations: 320.9 kB / 474.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.3535, allocations: 15.42 kB / 474.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.3535, allocations: 32.61 kB / 474.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.3537, allocations: 52.98 kB / 474.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3537, allocations: 0 / 474.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001617/0.3538, allocations: 84.64 kB / 474.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3538, allocations: 5.469 kB / 474.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3538, allocations: 6 kB / 474.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3539, allocations: 1.062 kB / 474.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.3539, allocations: 13.98 kB / 474.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3539, allocations: 0 / 474.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.354, allocations: 6.328 kB / 474.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.354, allocations: 2.031 kB / 474.7 MB, free: 1.328 MB / 366.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 5.186e-05/0.354, allocations: 121.1 kB / 474.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.354, allocations: 3.562 kB / 474.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.3543, allocations: 101.2 kB / 475 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3543, allocations: 1.312 kB / 475 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3543, allocations: 1.188 kB / 475 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3543, allocations: 3.938 kB / 475 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.3544, allocations: 184.9 kB / 475.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3544, allocations: 1.344 kB / 475.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.3544, allocations: 12.34 kB / 475.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3544, allocations: 5.094 kB / 475.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3544, allocations: 1.188 kB / 475.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3544, allocations: 1.031 kB / 475.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3544, allocations: 1.094 kB / 475.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3546, allocations: 114.5 kB / 475.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.3547, allocations: 91.55 kB / 475.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3547, allocations: 5.234 kB / 475.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.3547, allocations: 10.84 kB / 475.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.3548, allocations: 7.859 kB / 475.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3548, allocations: 2.312 kB / 475.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.688e-05/0.3549, allocations: 112.3 kB / 475.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3549, allocations: 0 / 475.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003333/0.3582, allocations: 0.9608 MB / 476.5 MB, free: 384 kB / 366.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.006783/0.365, allocations: 1.878 MB / 478.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.3652, allocations: 46.81 kB / 478.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3652, allocations: 3.938 kB / 478.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.3653, allocations: 31.58 kB / 478.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3656, allocations: 24.55 kB / 478.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.3692, allocations: 1.784 MB / 480.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3696, allocations: 0.6937 MB / 480.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.3696, allocations: 13.67 kB / 480.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.3697, allocations: 23.17 kB / 481 MB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3697, allocations: 0 / 481 MB, free: 13.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/0.4313, allocations: 29.48 MB / 0.4985 GB, free: 4.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.953/9.385, allocations: 9.828 kB / 0.4985 GB, free: 4.09 MB / 398.1 MB " [Timeout remaining time 650] (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: 19.6242591230548]