Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001342/0.001342, allocations: 103.4 kB / 16.4 MB, free: 6.492 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.001286/0.001287, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2033/0.2033, allocations: 43.54 MB / 314.1 MB, free: 436 kB / 254.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.001374/0.001374, allocations: 62.05 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 57.8 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3948/0.5009, allocations: 136.2 MB / 0.6204 GB, free: 2.723 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006621/0.5076, allocations: 4.706 MB / 0.625 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.5079, allocations: 4 kB / 0.625 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.5085, allocations: 55.59 kB / 0.625 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.5108, allocations: 0.7345 MB / 0.6258 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.5113, allocations: 168.6 kB / 0.6259 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.5122, allocations: 370.1 kB / 0.6263 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.5123, allocations: 12.78 kB / 0.6263 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.5127, allocations: 159.4 kB / 0.6264 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.5131, allocations: 195.4 kB / 0.6266 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.5131, allocations: 8 kB / 0.6266 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.5146, allocations: 0.6746 MB / 0.6273 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.5147, allocations: 47.81 kB / 0.6273 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.5149, allocations: 107.5 kB / 0.6274 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.5159, allocations: 462.9 kB / 0.6279 GB, free: 11.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5159, allocations: 0 / 0.6279 GB, free: 11.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5159, allocations: 0 / 0.6279 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.516, allocations: 0 / 0.6279 GB, free: 11.05 MB / 478.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.5171, allocations: 0.593 MB / 0.6285 GB, free: 10.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5172, allocations: 15.89 kB / 0.6285 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.5173, allocations: 66.72 kB / 0.6285 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.5174, allocations: 28.66 kB / 0.6286 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.5178, allocations: 228 kB / 0.6288 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.518, allocations: 123.9 kB / 0.6289 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.518, allocations: 20.38 kB / 0.6289 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.5185, allocations: 322.8 kB / 0.6292 GB, free: 9.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5186, allocations: 3.938 kB / 0.6292 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.5186, allocations: 12 kB / 0.6292 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.5186, allocations: 8 kB / 0.6293 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.5196, allocations: 0.7391 MB / 0.63 GB, free: 8.754 MB / 478.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.001472/0.521, allocations: 1.222 MB / 0.6312 GB, free: 7.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.5215, allocations: 179.7 kB / 0.6313 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.5216, allocations: 89.42 kB / 0.6314 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002549/0.5242, allocations: 2.703 MB / 0.6341 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.5242, allocations: 30.56 kB / 0.6341 GB, free: 3.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.5242, allocations: 3.938 kB / 0.6341 GB, free: 3.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006564/0.5249, allocations: 212.8 kB / 0.6343 GB, free: 3.672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.5249, allocations: 51.41 kB / 0.6344 GB, free: 3.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.5252, allocations: 222.8 kB / 0.6346 GB, free: 3.379 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5252, allocations: 37.7 kB / 0.6346 GB, free: 3.336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.5254, allocations: 206.8 kB / 0.6348 GB, free: 3.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.5255, allocations: 59.27 kB / 0.6349 GB, free: 3.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.5256, allocations: 81.95 kB / 0.6349 GB, free: 2.984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5258, allocations: 334.8 kB / 0.6353 GB, free: 2.648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.5259, allocations: 48.84 kB / 0.6353 GB, free: 2.598 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.5261, allocations: 328 kB / 0.6356 GB, free: 2.145 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.5267, allocations: 436.4 kB / 0.636 GB, free: 1.582 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.5267, allocations: 4 kB / 0.636 GB, free: 1.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005417/0.5273, allocations: 373.2 kB / 0.6364 GB, free: 1.207 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5273, allocations: 12 kB / 0.6364 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.5273, allocations: 8 kB / 0.6364 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.5274, allocations: 15.94 kB / 0.6364 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.5277, allocations: 112.5 kB / 0.6365 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.5277, allocations: 23.06 kB / 0.6366 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.5279, allocations: 20 kB / 0.6366 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.528, allocations: 31.98 kB / 0.6366 GB, free: 0.9922 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0001321/0.5281, allocations: 149.6 kB / 0.6367 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.5282, allocations: 23.72 kB / 0.6368 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.5285, allocations: 155.8 kB / 0.6369 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.5285, allocations: 0 / 0.6369 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5285, allocations: 7.938 kB / 0.6369 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.5285, allocations: 0 / 0.6369 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.5291, allocations: 436 kB / 0.6373 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5291, allocations: 0 / 0.6373 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.5293, allocations: 40.03 kB / 0.6374 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5293, allocations: 0 / 0.6374 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5293, allocations: 4 kB / 0.6374 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5293, allocations: 0 / 0.6374 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5293, allocations: 0 / 0.6374 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.5296, allocations: 232.9 kB / 0.6376 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.5297, allocations: 100.9 kB / 0.6377 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.5298, allocations: 11.91 kB / 0.6377 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.53, allocations: 7.984 kB / 0.6377 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.53, allocations: 7.984 kB / 0.6377 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.53, allocations: 8 kB / 0.6377 GB, free: 15.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.5302, allocations: 152.5 kB / 0.6379 GB, free: 15.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5302, allocations: 0 / 0.6379 GB, free: 15.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.5307, allocations: 88 kB / 0.638 GB, free: 15.47 MB / 494.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.0007047/0.5314, allocations: 0.8219 MB / 0.6388 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.5317, allocations: 176.8 kB / 0.6389 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5317, allocations: 0 / 0.6389 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.5318, allocations: 37.48 kB / 0.639 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.5322, allocations: 54.52 kB / 0.639 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.5352, allocations: 2.706 MB / 0.6417 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.5356, allocations: 0.7245 MB / 0.6424 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.5358, allocations: 58.81 kB / 0.6424 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.5359, allocations: 63.42 kB / 0.6425 GB, free: 10.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5359, allocations: 0 / 0.6425 GB, free: 10.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.5573, allocations: 5.341 MB / 0.6477 GB, free: 5.094 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.094, allocations: 13.14 kB / 0.6477 GB, free: 5.082 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches