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.0008583/0.0008583, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009967/0.0009968, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 46.18 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002593, allocations: 11.98 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1381, allocations: 63.55 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4379/0.5761, allocations: 135.1 MB / 0.6038 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.5818, allocations: 4.693 MB / 0.6084 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.5821, allocations: 4 kB / 0.6084 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.5825, allocations: 47.73 kB / 0.6085 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.5848, allocations: 0.6688 MB / 0.6091 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.5852, allocations: 150.5 kB / 0.6093 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.5859, allocations: 446.1 kB / 0.6097 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.586, allocations: 13.67 kB / 0.6097 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.5862, allocations: 151.4 kB / 0.6098 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.5865, allocations: 203.3 kB / 0.61 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.5865, allocations: 8 kB / 0.61 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5881, allocations: 0.7174 MB / 0.6107 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.5882, allocations: 47.75 kB / 0.6108 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.5883, allocations: 133.2 kB / 0.6109 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.5891, allocations: 473.1 kB / 0.6114 GB, free: 4.953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5891, allocations: 0 / 0.6114 GB, free: 4.953 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5891, allocations: 0 / 0.6114 GB, free: 4.953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.5891, allocations: 0 / 0.6114 GB, free: 4.953 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.001054/0.5902, allocations: 0.5546 MB / 0.6119 GB, free: 4.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5903, allocations: 12.88 kB / 0.6119 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.758e-05/0.5903, allocations: 58.73 kB / 0.612 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.5905, allocations: 24.75 kB / 0.612 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.5907, allocations: 220.1 kB / 0.6122 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.5909, allocations: 131.9 kB / 0.6123 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.5909, allocations: 16.38 kB / 0.6123 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.5915, allocations: 330.7 kB / 0.6127 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5915, allocations: 0 / 0.6127 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.5915, allocations: 8 kB / 0.6127 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.5916, allocations: 7.938 kB / 0.6127 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.5924, allocations: 0.7508 MB / 0.6134 GB, free: 2.711 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.001385/0.5938, allocations: 1.218 MB / 0.6146 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.5942, allocations: 171.7 kB / 0.6148 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.5944, allocations: 97.22 kB / 0.6149 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002719/0.5971, allocations: 2.699 MB / 0.6175 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5972, allocations: 46.5 kB / 0.6175 GB, free: 13.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.5972, allocations: 0 / 0.6175 GB, free: 13.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006835/0.5979, allocations: 220 kB / 0.6177 GB, free: 13.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.5979, allocations: 55.34 kB / 0.6178 GB, free: 13.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5981, allocations: 216 kB / 0.618 GB, free: 13.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.5982, allocations: 33.7 kB / 0.618 GB, free: 13.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.5983, allocations: 206.8 kB / 0.6182 GB, free: 13.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.5984, allocations: 59.23 kB / 0.6183 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.5984, allocations: 45.7 kB / 0.6183 GB, free: 12.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5986, allocations: 322.8 kB / 0.6186 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.5987, allocations: 52.84 kB / 0.6187 GB, free: 12.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.5989, allocations: 321.2 kB / 0.619 GB, free: 12.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.5994, allocations: 416.4 kB / 0.6194 GB, free: 11.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5994, allocations: 4 kB / 0.6194 GB, free: 11.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005555/0.6, allocations: 376.9 kB / 0.6198 GB, free: 11.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6, allocations: 8 kB / 0.6198 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.6, allocations: 12.62 kB / 0.6198 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.6001, allocations: 16.75 kB / 0.6198 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.6004, allocations: 103.8 kB / 0.6199 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.6004, allocations: 23.92 kB / 0.6199 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.6007, allocations: 19.94 kB / 0.6199 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.6007, allocations: 28 kB / 0.62 GB, free: 11.03 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.0001463/0.6009, allocations: 153.6 kB / 0.6201 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.6009, allocations: 19.81 kB / 0.6201 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.6012, allocations: 155.7 kB / 0.6203 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.6013, allocations: 7.984 kB / 0.6203 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6013, allocations: 0 / 0.6203 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6013, allocations: 0 / 0.6203 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.6018, allocations: 444 kB / 0.6207 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6019, allocations: 0 / 0.6207 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.602, allocations: 27.98 kB / 0.6207 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.602, allocations: 4 kB / 0.6207 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.602, allocations: 0 / 0.6207 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.602, allocations: 7.938 kB / 0.6207 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.602, allocations: 3.984 kB / 0.6207 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.6023, allocations: 225 kB / 0.621 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.6024, allocations: 108.8 kB / 0.6211 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.6024, allocations: 3.984 kB / 0.6211 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.6026, allocations: 8 kB / 0.6211 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.6027, allocations: 11.98 kB / 0.6211 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.6027, allocations: 7.984 kB / 0.6211 GB, free: 9.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.6028, allocations: 148.5 kB / 0.6212 GB, free: 9.598 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.6028, allocations: 0 / 0.6212 GB, free: 9.598 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.6033, allocations: 103.9 kB / 0.6213 GB, free: 9.496 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.0007203/0.604, allocations: 0.8107 MB / 0.6221 GB, free: 8.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.6044, allocations: 185.5 kB / 0.6223 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6044, allocations: 0 / 0.6223 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.6044, allocations: 32.55 kB / 0.6223 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.6049, allocations: 60.39 kB / 0.6224 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.608, allocations: 2.814 MB / 0.6251 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.6083, allocations: 0.7248 MB / 0.6259 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.6086, allocations: 62.91 kB / 0.6259 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.6087, allocations: 63.41 kB / 0.626 GB, free: 4.344 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6087, allocations: 0 / 0.626 GB, free: 4.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.6254, allocations: 5.01 MB / 0.6309 GB, free: 15.48 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.6257, allocations: 215.9 kB / 0.6311 GB, free: 15.21 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.611, allocations: 0 / 0.6311 GB, free: 15.21 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