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.0012/0.0012, allocations: 104.5 kB / 17.58 MB, free: 5.426 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.001118/0.001118, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.124/1.124, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001078/0.001078, allocations: 56.42 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06563/0.06672, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00211/0.06885, allocations: 1.357 MB / 328.7 MB, free: 3.012 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02411/0.09298, allocations: 23.68 MB / 352.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.09303, allocations: 4 kB / 352.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.381e-05/0.09314, allocations: 7.938 kB / 352.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.1039, allocations: 5.632 MB / 358.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.1046, allocations: 342.8 kB / 358.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.1047, allocations: 75.69 kB / 358.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.544e-05/0.1047, allocations: 0 / 358.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.1048, allocations: 35.86 kB / 358.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.1048, allocations: 39.88 kB / 358.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1049, allocations: 8 kB / 358.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/0.1171, allocations: 8.578 MB / 367.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.1171, allocations: 23.84 kB / 367.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.1172, allocations: 23.88 kB / 367.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006539/0.1237, allocations: 4.351 MB / 371.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1237, allocations: 4 kB / 371.5 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1238, allocations: 0 / 371.5 MB, free: 8.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1238, allocations: 0 / 371.5 MB, free: 8.094 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.001896/0.1257, allocations: 0.9006 MB / 372.4 MB, free: 7.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1257, allocations: 8.031 kB / 372.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.1257, allocations: 34.73 kB / 372.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1258, allocations: 4.938 kB / 372.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1259, allocations: 195.7 kB / 372.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.126, allocations: 11.94 kB / 372.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.126, allocations: 0 / 372.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1261, allocations: 79.31 kB / 372.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1262, allocations: 0 / 372.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1262, allocations: 0 / 372.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1262, allocations: 0 / 372.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1263, allocations: 35.97 kB / 372.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.1265, allocations: 198.5 kB / 373 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1267, allocations: 101.1 kB / 373.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.1268, allocations: 25.77 kB / 373.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.1269, allocations: 16 kB / 373.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1269, allocations: 38.55 kB / 373.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1269, allocations: 0 / 373.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002778/0.1272, allocations: 101.5 kB / 373.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.1272, allocations: 77.11 kB / 373.3 MB, free: 6.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1273, allocations: 141.8 kB / 373.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1274, allocations: 29.7 kB / 373.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.1274, allocations: 88.14 kB / 373.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1274, allocations: 15.72 kB / 373.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.1275, allocations: 21.7 kB / 373.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1276, allocations: 318.8 kB / 373.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.1277, allocations: 15.98 kB / 373.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1277, allocations: 33.7 kB / 374 MB, free: 5.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1278, allocations: 53.69 kB / 374 MB, free: 5.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1278, allocations: 0 / 374 MB, free: 5.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001753/0.128, allocations: 77.61 kB / 374.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.128, allocations: 4 kB / 374.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1281, allocations: 4 kB / 374.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1281, allocations: 0 / 374.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.1281, allocations: 8.125 kB / 374.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1282, allocations: 11.92 kB / 374.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.1282, allocations: 11.94 kB / 374.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1282, allocations: 384 / 374.1 MB, free: 5.195 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.876e-05/0.1283, allocations: 121.7 kB / 374.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.1283, allocations: 7.906 kB / 374.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1285, allocations: 101.9 kB / 374.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1285, allocations: 7.938 kB / 374.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1286, allocations: 96 / 374.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1286, allocations: 3.984 kB / 374.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1287, allocations: 177.6 kB / 374.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1287, allocations: 3.984 kB / 374.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.1288, allocations: 12 kB / 374.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1288, allocations: 0 / 374.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1288, allocations: 4 kB / 374.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1288, allocations: 0 / 374.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1288, allocations: 0 / 374.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.129, allocations: 117.8 kB / 374.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1291, allocations: 93 kB / 374.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1291, allocations: 4 kB / 374.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.1292, allocations: 7.984 kB / 374.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1292, allocations: 4 kB / 374.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1292, allocations: 7.984 kB / 374.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.1293, allocations: 111.2 kB / 374.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1293, allocations: 0 / 374.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002034/0.1313, allocations: 0.9252 MB / 375.8 MB, free: 3.395 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.004226/0.1356, allocations: 1.892 MB / 377.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1358, allocations: 52.06 kB / 377.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1358, allocations: 0 / 377.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.1358, allocations: 32.09 kB / 377.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.136, allocations: 15.98 kB / 377.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1131/0.2491, allocations: 1.758 MB / 379.6 MB, free: 51.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.374e-05/0.2492, allocations: 0.687 MB / 380.3 MB, free: 50.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.2493, allocations: 20.41 kB / 380.3 MB, free: 50.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.2494, allocations: 25.38 kB / 380.3 MB, free: 50.56 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2494, allocations: 0 / 380.3 MB, free: 50.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5142/0.7636, allocations: 30.73 MB / 411 MB, free: 31.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.84, allocations: 19.12 kB / 411.1 MB, free: 31.87 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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