Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007184/0.0007182, allocations: 95.2 kB / 17.3 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008544/0.0008544, allocations: 182.5 kB / 18.2 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004526, allocations: 19.98 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07484/0.0753, allocations: 47.57 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001137/0.07648, allocations: 1.085 MB / 330.1 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02591/0.1024, allocations: 25.12 MB / 355.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1025, allocations: 3.938 kB / 355.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.445e-05/0.1026, allocations: 7.922 kB / 355.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00996/0.1125, allocations: 4.571 MB / 359.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1131, allocations: 330.8 kB / 360.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.1132, allocations: 95.61 kB / 360.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.1133, allocations: 4 kB / 360.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.1133, allocations: 35.89 kB / 360.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.1134, allocations: 39.84 kB / 360.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1135, allocations: 3.984 kB / 360.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.1261, allocations: 8.792 MB / 369.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.1262, allocations: 23.91 kB / 369.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.1262, allocations: 57.5 kB / 369.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006091/0.1323, allocations: 4.405 MB / 373.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1323, allocations: 0 / 373.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1323, allocations: 0 / 373.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1323, allocations: 0 / 373.6 MB, free: 6.977 MB / 318.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.001504/0.1339, allocations: 0.8852 MB / 374.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1339, allocations: 8.031 kB / 374.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.1339, allocations: 30.75 kB / 374.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.134, allocations: 12.83 kB / 374.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1341, allocations: 203.6 kB / 374.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1341, allocations: 4 kB / 374.8 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1342, allocations: 3.938 kB / 374.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1343, allocations: 75.38 kB / 374.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.1343, allocations: 0 / 374.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1343, allocations: 0 / 374.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1343, allocations: 0 / 374.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1345, allocations: 35.92 kB / 374.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1346, allocations: 190.5 kB / 375.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1349, allocations: 97.11 kB / 375.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.135, allocations: 29.77 kB / 375.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.135, allocations: 16 kB / 375.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1351, allocations: 34.56 kB / 375.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1351, allocations: 0 / 375.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002632/0.1353, allocations: 101.6 kB / 375.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1354, allocations: 81.09 kB / 375.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1355, allocations: 137.8 kB / 375.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1355, allocations: 37.7 kB / 375.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.1355, allocations: 80.14 kB / 375.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.1356, allocations: 23.66 kB / 375.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.1356, allocations: 13.7 kB / 375.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.1357, allocations: 318.8 kB / 376 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.1358, allocations: 15.98 kB / 376 MB, free: 4.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.1358, allocations: 37.64 kB / 376.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1359, allocations: 49.7 kB / 376.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.136, allocations: 4 kB / 376.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001587/0.1361, allocations: 85.5 kB / 376.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1361, allocations: 10.66 kB / 376.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1361, allocations: 0 / 376.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1362, allocations: 0 / 376.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.1362, allocations: 8.125 kB / 376.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1362, allocations: 0 / 376.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.1363, allocations: 12 kB / 376.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1363, allocations: 0 / 376.2 MB, free: 4.102 MB / 318.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 6.847e-05/0.1364, allocations: 121.8 kB / 376.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.1364, allocations: 7.906 kB / 376.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.1366, allocations: 93.5 kB / 376.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1366, allocations: 7.938 kB / 376.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1366, allocations: 3.984 kB / 376.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1366, allocations: 0 / 376.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1368, allocations: 185.5 kB / 376.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1368, allocations: 0 / 376.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.1368, allocations: 15.92 kB / 376.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1368, allocations: 4 kB / 376.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1369, allocations: 4.562 kB / 376.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1369, allocations: 0 / 376.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1369, allocations: 0 / 376.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.137, allocations: 117.8 kB / 376.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1371, allocations: 93.08 kB / 376.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1371, allocations: 3.984 kB / 376.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.1372, allocations: 4 kB / 376.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1372, allocations: 7.984 kB / 376.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1373, allocations: 7.938 kB / 376.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.1373, allocations: 115.5 kB / 377 MB, free: 3.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1373, allocations: 0 / 377 MB, free: 3.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001584/0.1389, allocations: 0.9252 MB / 377.9 MB, free: 2.293 MB / 318.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.00358/0.1425, allocations: 1.885 MB / 379.8 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1427, allocations: 47.91 kB / 379.9 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1427, allocations: 3.938 kB / 379.9 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.1428, allocations: 31.92 kB / 379.9 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.143, allocations: 23.92 kB / 379.9 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1261/0.2691, allocations: 1.773 MB / 381.7 MB, free: 49.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.805e-05/0.2692, allocations: 0.6887 MB / 382.4 MB, free: 48.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.995e-05/0.2693, allocations: 12.62 kB / 382.4 MB, free: 48.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.2693, allocations: 22.16 kB / 382.4 MB, free: 48.85 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2693, allocations: 0 / 382.4 MB, free: 48.85 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/0.3129, allocations: 30.41 MB / 412.8 MB, free: 30.26 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.3131, allocations: 247.1 kB / 413.1 MB, free: 30 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.03, allocations: 0 / 413.1 MB, free: 30 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches