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.001114/0.001114, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 77.59 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3476/0.4642, allocations: 139 MB / 0.6046 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.469, allocations: 4.732 MB / 0.6092 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.4691, allocations: 4 kB / 0.6092 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.4695, allocations: 59.59 kB / 0.6093 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.4712, allocations: 0.7267 MB / 0.61 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.4716, allocations: 159.9 kB / 0.6102 GB, free: 2.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.4721, allocations: 374.2 kB / 0.6105 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.4721, allocations: 25.59 kB / 0.6105 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.4724, allocations: 155.5 kB / 0.6107 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.4726, allocations: 187.4 kB / 0.6109 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.4727, allocations: 8 kB / 0.6109 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.474, allocations: 0.6903 MB / 0.6115 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.4741, allocations: 47.75 kB / 0.6116 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.4742, allocations: 115.4 kB / 0.6117 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007966/0.475, allocations: 461.2 kB / 0.6121 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.475, allocations: 0 / 0.6121 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.475, allocations: 0 / 0.6121 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.475, allocations: 3.938 kB / 0.6121 GB, free: 0.5508 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.001019/0.4761, allocations: 0.5975 MB / 0.6127 GB, free: 15.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4761, allocations: 12.03 kB / 0.6127 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.4762, allocations: 66.7 kB / 0.6128 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.4763, allocations: 24.75 kB / 0.6128 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.4766, allocations: 228 kB / 0.613 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.4767, allocations: 119.9 kB / 0.6132 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4767, allocations: 28.38 kB / 0.6132 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.4772, allocations: 327.6 kB / 0.6135 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4772, allocations: 0 / 0.6135 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.4773, allocations: 12 kB / 0.6135 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.4773, allocations: 8 kB / 0.6135 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.478, allocations: 0.743 MB / 0.6142 GB, free: 14.25 MB / 462.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.001179/0.4792, allocations: 1.222 MB / 0.6154 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.4796, allocations: 169.5 kB / 0.6156 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4797, allocations: 91.98 kB / 0.6157 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002116/0.4819, allocations: 2.707 MB / 0.6183 GB, free: 9.434 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4819, allocations: 34.56 kB / 0.6184 GB, free: 9.391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.4819, allocations: 0 / 0.6184 GB, free: 9.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006604/0.4826, allocations: 224.7 kB / 0.6186 GB, free: 9.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.4826, allocations: 55.41 kB / 0.6186 GB, free: 9.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4828, allocations: 216.1 kB / 0.6188 GB, free: 8.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.4828, allocations: 25.7 kB / 0.6189 GB, free: 8.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4829, allocations: 230.5 kB / 0.6191 GB, free: 8.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.483, allocations: 51.36 kB / 0.6191 GB, free: 8.562 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.4831, allocations: 82.03 kB / 0.6192 GB, free: 8.477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4832, allocations: 326.8 kB / 0.6195 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.4833, allocations: 48.83 kB / 0.6196 GB, free: 8.102 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.4835, allocations: 325.2 kB / 0.6199 GB, free: 7.656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.4839, allocations: 408.4 kB / 0.6203 GB, free: 7.125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4839, allocations: 4 kB / 0.6203 GB, free: 7.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005405/0.4845, allocations: 384.7 kB / 0.6206 GB, free: 6.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4845, allocations: 12 kB / 0.6206 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4845, allocations: 8.875 kB / 0.6207 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.4846, allocations: 15.94 kB / 0.6207 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.4849, allocations: 115.8 kB / 0.6208 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.4849, allocations: 15.94 kB / 0.6208 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.4851, allocations: 12 kB / 0.6208 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4852, allocations: 28 kB / 0.6208 GB, free: 6.535 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.0001098/0.4853, allocations: 153.6 kB / 0.621 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.4853, allocations: 19.81 kB / 0.621 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.4856, allocations: 155.4 kB / 0.6211 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.4856, allocations: 4 kB / 0.6211 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4856, allocations: 0 / 0.6211 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4857, allocations: 0 / 0.6211 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.4861, allocations: 444 kB / 0.6216 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4862, allocations: 6.625 kB / 0.6216 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.4863, allocations: 31.98 kB / 0.6216 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4863, allocations: 0 / 0.6216 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4864, allocations: 3.984 kB / 0.6216 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4864, allocations: 7.938 kB / 0.6216 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4864, allocations: 0 / 0.6216 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.4866, allocations: 221.1 kB / 0.6218 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.4867, allocations: 100.8 kB / 0.6219 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.4867, allocations: 8 kB / 0.6219 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4869, allocations: 7.984 kB / 0.6219 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.487, allocations: 7.984 kB / 0.622 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.487, allocations: 12 kB / 0.622 GB, free: 5.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4871, allocations: 152.4 kB / 0.6221 GB, free: 5.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4871, allocations: 4 kB / 0.6221 GB, free: 5.109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.4876, allocations: 95.94 kB / 0.6222 GB, free: 5.016 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.0006309/0.4882, allocations: 0.8115 MB / 0.623 GB, free: 4.172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.4885, allocations: 186.6 kB / 0.6232 GB, free: 3.992 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4886, allocations: 0 / 0.6232 GB, free: 3.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.4886, allocations: 36.03 kB / 0.6232 GB, free: 3.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.489, allocations: 55.59 kB / 0.6233 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.4916, allocations: 2.726 MB / 0.6259 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4919, allocations: 0.7285 MB / 0.6266 GB, free: 80 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.4921, allocations: 54.91 kB / 0.6267 GB, free: 24 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.195e-05/0.4922, allocations: 67.42 kB / 0.6268 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4922, allocations: 0 / 0.6268 GB, free: 15.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.5133, allocations: 5.278 MB / 0.6319 GB, free: 10.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.803, allocations: 4.688 kB / 0.6319 GB, free: 10.77 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