Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001601/0.001601, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 80.16 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3648, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1501/0.5149, allocations: 139 MB / 0.6663 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.5204, allocations: 4.727 MB / 0.6709 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.5206, allocations: 4 kB / 0.6709 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.5211, allocations: 59.59 kB / 0.671 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.5232, allocations: 0.7305 MB / 0.6717 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.5236, allocations: 161.6 kB / 0.6718 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.5244, allocations: 378.1 kB / 0.6722 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.5245, allocations: 9.688 kB / 0.6722 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.525, allocations: 155.5 kB / 0.6724 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.5255, allocations: 187.4 kB / 0.6725 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.5256, allocations: 8 kB / 0.6725 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.5271, allocations: 0.6942 MB / 0.6732 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.5272, allocations: 51.73 kB / 0.6733 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.5274, allocations: 111.5 kB / 0.6734 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5285, allocations: 465.2 kB / 0.6738 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5286, allocations: 0 / 0.6738 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5286, allocations: 0 / 0.6738 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.5286, allocations: 4 kB / 0.6738 GB, free: 14.54 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001345/0.5299, allocations: 0.5969 MB / 0.6744 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.53, allocations: 11.97 kB / 0.6744 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/0.5301, allocations: 58.73 kB / 0.6745 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.5303, allocations: 28.73 kB / 0.6745 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.5307, allocations: 236 kB / 0.6747 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.5309, allocations: 123.9 kB / 0.6748 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.5309, allocations: 20.12 kB / 0.6749 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.5316, allocations: 326.8 kB / 0.6752 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5316, allocations: 4 kB / 0.6752 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.5316, allocations: 12 kB / 0.6752 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.5317, allocations: 7.938 kB / 0.6752 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.5326, allocations: 0.7391 MB / 0.6759 GB, free: 12.24 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.5342, allocations: 1.23 MB / 0.6771 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.5347, allocations: 175.7 kB / 0.6773 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.5348, allocations: 81.48 kB / 0.6774 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002355/0.5372, allocations: 2.707 MB / 0.68 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5372, allocations: 34.56 kB / 0.68 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.5372, allocations: 0 / 0.68 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007626/0.538, allocations: 224.2 kB / 0.6803 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.5381, allocations: 55.41 kB / 0.6803 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.5383, allocations: 216 kB / 0.6805 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.5383, allocations: 33.7 kB / 0.6805 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.5385, allocations: 214.7 kB / 0.6808 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.5385, allocations: 47.36 kB / 0.6808 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.5387, allocations: 85.94 kB / 0.6809 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5388, allocations: 326.8 kB / 0.6812 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.5389, allocations: 56.77 kB / 0.6812 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.5392, allocations: 321.2 kB / 0.6816 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.5396, allocations: 412.4 kB / 0.6819 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.5396, allocations: 8 kB / 0.682 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005901/0.5402, allocations: 377.7 kB / 0.6823 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.5403, allocations: 8 kB / 0.6823 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.5403, allocations: 12 kB / 0.6823 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.5403, allocations: 20 kB / 0.6824 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.5406, allocations: 111.8 kB / 0.6825 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.5407, allocations: 15.94 kB / 0.6825 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5409, allocations: 20 kB / 0.6825 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.5409, allocations: 24 kB / 0.6825 GB, free: 4.523 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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 0.0001423/0.5411, allocations: 157.5 kB / 0.6827 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.5412, allocations: 19.81 kB / 0.6827 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.5415, allocations: 155.7 kB / 0.6828 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.5415, allocations: 0 / 0.6828 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.5415, allocations: 4 kB / 0.6828 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5415, allocations: 0 / 0.6828 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.5421, allocations: 444.1 kB / 0.6833 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5421, allocations: 3.984 kB / 0.6833 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.5423, allocations: 27.98 kB / 0.6833 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.5423, allocations: 0 / 0.6833 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5423, allocations: 7.984 kB / 0.6833 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5423, allocations: 0 / 0.6833 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5423, allocations: 4 kB / 0.6833 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.5425, allocations: 228.9 kB / 0.6835 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.5426, allocations: 96.91 kB / 0.6836 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.5427, allocations: 11.94 kB / 0.6836 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.5429, allocations: 7.984 kB / 0.6836 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.5429, allocations: 11.98 kB / 0.6836 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.543, allocations: 7.938 kB / 0.6837 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001313/0.5431, allocations: 152.5 kB / 0.6838 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5431, allocations: 4 kB / 0.6838 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004869/0.5436, allocations: 92 kB / 0.6839 GB, free: 2.992 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0007341/0.5443, allocations: 0.8147 MB / 0.6847 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.5447, allocations: 181.5 kB / 0.6849 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5447, allocations: 0 / 0.6849 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.5448, allocations: 36.48 kB / 0.6849 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.5452, allocations: 61.95 kB / 0.685 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.5482, allocations: 2.731 MB / 0.6876 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.5485, allocations: 0.7285 MB / 0.6883 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.5487, allocations: 54.91 kB / 0.6884 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.5488, allocations: 75.34 kB / 0.6885 GB, free: 13.91 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.5489, allocations: 0 / 0.6885 GB, free: 13.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.5712, allocations: 5.393 MB / 0.6937 GB, free: 8.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.393, allocations: 3.938 kB / 0.6937 GB, free: 8.621 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches