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.0011/0.0011, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 73.05 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1209, allocations: 62.45 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3889/0.5098, allocations: 136.9 MB / 0.6018 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.5154, allocations: 4.772 MB / 0.6065 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.5156, allocations: 0 / 0.6065 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.5161, allocations: 59.72 kB / 0.6065 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.5178, allocations: 0.6532 MB / 0.6072 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.5182, allocations: 166 kB / 0.6073 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.5188, allocations: 442.1 kB / 0.6078 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.5189, allocations: 17.67 kB / 0.6078 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.5191, allocations: 151.4 kB / 0.6079 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.5194, allocations: 203.3 kB / 0.6081 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.5194, allocations: 8 kB / 0.6081 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.5208, allocations: 0.7252 MB / 0.6088 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9e-05/0.5209, allocations: 43.81 kB / 0.6089 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.521, allocations: 103.5 kB / 0.609 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007465/0.5218, allocations: 473.1 kB / 0.6094 GB, free: 3.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5218, allocations: 0 / 0.6094 GB, free: 3.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.5218, allocations: 0 / 0.6094 GB, free: 3.113 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.5218, allocations: 0 / 0.6094 GB, free: 3.113 MB / 446.1 MB 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.001147/0.523, allocations: 0.6053 MB / 0.61 GB, free: 2.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.523, allocations: 8.875 kB / 0.61 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.506e-05/0.5231, allocations: 58.73 kB / 0.6101 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.5233, allocations: 36.66 kB / 0.6101 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.5237, allocations: 228 kB / 0.6103 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.5238, allocations: 119.9 kB / 0.6104 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.5239, allocations: 24.38 kB / 0.6105 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.5244, allocations: 326.7 kB / 0.6108 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5244, allocations: 4 kB / 0.6108 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.5245, allocations: 10.06 kB / 0.6108 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.5245, allocations: 8 kB / 0.6108 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.5253, allocations: 0.743 MB / 0.6115 GB, free: 0.8164 MB / 446.1 MB 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.001537/0.5269, allocations: 1.218 MB / 0.6127 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.5273, allocations: 175.7 kB / 0.6129 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.5275, allocations: 89.42 kB / 0.613 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/0.5302, allocations: 2.695 MB / 0.6156 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.5302, allocations: 42.5 kB / 0.6156 GB, free: 11.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.5302, allocations: 0 / 0.6156 GB, free: 11.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007774/0.531, allocations: 227.9 kB / 0.6159 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5311, allocations: 59.28 kB / 0.6159 GB, free: 11.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.5313, allocations: 212.1 kB / 0.6161 GB, free: 11.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5314, allocations: 25.7 kB / 0.6161 GB, free: 11.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.5315, allocations: 222.7 kB / 0.6164 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.5316, allocations: 55.33 kB / 0.6164 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5317, allocations: 78.03 kB / 0.6165 GB, free: 11.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5318, allocations: 330.8 kB / 0.6168 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.5319, allocations: 52.84 kB / 0.6168 GB, free: 10.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.5323, allocations: 317.2 kB / 0.6172 GB, free: 10.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.5328, allocations: 421.4 kB / 0.6176 GB, free: 9.684 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5328, allocations: 4 kB / 0.6176 GB, free: 9.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005347/0.5333, allocations: 379.3 kB / 0.6179 GB, free: 9.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5333, allocations: 8 kB / 0.6179 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5334, allocations: 8 kB / 0.6179 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.5334, allocations: 19.94 kB / 0.618 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.5337, allocations: 107.6 kB / 0.6181 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.5338, allocations: 19.92 kB / 0.6181 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.534, allocations: 28.41 kB / 0.6181 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.5341, allocations: 31.94 kB / 0.6181 GB, free: 9.09 MB / 462.1 MB 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.0001391/0.5342, allocations: 141.7 kB / 0.6183 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.5343, allocations: 23.8 kB / 0.6183 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.5346, allocations: 151.8 kB / 0.6184 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5346, allocations: 4 kB / 0.6184 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5346, allocations: 7.922 kB / 0.6184 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5346, allocations: 0 / 0.6184 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.5352, allocations: 432.1 kB / 0.6189 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.5352, allocations: 4 kB / 0.6189 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.5353, allocations: 28.05 kB / 0.6189 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5353, allocations: 4 kB / 0.6189 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5354, allocations: 4 kB / 0.6189 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5354, allocations: 3.938 kB / 0.6189 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5354, allocations: 4 kB / 0.6189 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5356, allocations: 228.9 kB / 0.6191 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.5357, allocations: 100.9 kB / 0.6192 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.5358, allocations: 11.92 kB / 0.6192 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.536, allocations: 11.98 kB / 0.6192 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.5361, allocations: 4 kB / 0.6192 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.5361, allocations: 15.98 kB / 0.6193 GB, free: 7.812 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.5362, allocations: 148.5 kB / 0.6194 GB, free: 7.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.5362, allocations: 0 / 0.6194 GB, free: 7.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.5368, allocations: 91.94 kB / 0.6195 GB, free: 7.574 MB / 462.1 MB 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.000863/0.5376, allocations: 0.8115 MB / 0.6203 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.5379, allocations: 184.3 kB / 0.6205 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.538, allocations: 0 / 0.6205 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.538, allocations: 45.61 kB / 0.6205 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.5385, allocations: 48.8 kB / 0.6205 GB, free: 6.461 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.5416, allocations: 2.779 MB / 0.6233 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.5419, allocations: 0.7287 MB / 0.624 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002745/0.5422, allocations: 50.98 kB / 0.624 GB, free: 2.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.5423, allocations: 63.41 kB / 0.6241 GB, free: 2.461 MB / 462.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5424, allocations: 4 kB / 0.6241 GB, free: 2.457 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.5589, allocations: 5.085 MB / 0.6291 GB, free: 13.49 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.5591, allocations: 206.3 kB / 0.6292 GB, free: 13.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.587, allocations: 0 / 0.6292 GB, free: 13.23 MB / 478.1 MB (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