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.001389/0.001389, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001381/0.001381, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.472/1.472, 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.1992/0.1992, allocations: 43.53 MB / 314.1 MB, free: 440 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.002115/0.002115, allocations: 69.45 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1139, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3904/0.5043, allocations: 136.2 MB / 0.6204 GB, free: 2.707 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005161/0.5095, allocations: 4.713 MB / 0.625 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.5097, allocations: 0 / 0.625 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.5101, allocations: 59.59 kB / 0.6251 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.512, allocations: 0.7267 MB / 0.6258 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.5124, allocations: 160.6 kB / 0.6259 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.513, allocations: 382.1 kB / 0.6263 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.883e-05/0.5131, allocations: 12.78 kB / 0.6263 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.5134, allocations: 151.5 kB / 0.6264 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.5137, allocations: 191.3 kB / 0.6266 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.5138, allocations: 16 kB / 0.6266 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.5152, allocations: 0.6746 MB / 0.6273 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.5153, allocations: 51.8 kB / 0.6273 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.5155, allocations: 103.5 kB / 0.6274 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.5166, allocations: 462.9 kB / 0.6279 GB, free: 11.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5166, allocations: 0 / 0.6279 GB, free: 11.03 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5166, allocations: 0 / 0.6279 GB, free: 11.03 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.5166, allocations: 0 / 0.6279 GB, free: 11.03 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.001031/0.5176, allocations: 0.593 MB / 0.6285 GB, free: 10.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5177, allocations: 11.89 kB / 0.6285 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.5177, allocations: 62.72 kB / 0.6285 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.5179, allocations: 36.66 kB / 0.6286 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.5182, allocations: 224.1 kB / 0.6288 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.5183, allocations: 119.9 kB / 0.6289 GB, free: 9.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.5184, allocations: 20.38 kB / 0.6289 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.5189, allocations: 326.8 kB / 0.6292 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5189, allocations: 7.875 kB / 0.6292 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.5189, allocations: 15.98 kB / 0.6293 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.5189, allocations: 7.984 kB / 0.6293 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.5197, allocations: 0.7391 MB / 0.63 GB, free: 8.734 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.001315/0.521, allocations: 1.222 MB / 0.6312 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.5214, allocations: 179.7 kB / 0.6313 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.5216, allocations: 89.41 kB / 0.6314 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/0.5239, allocations: 2.699 MB / 0.6341 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5239, allocations: 34.56 kB / 0.6341 GB, free: 3.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.5239, allocations: 0 / 0.6341 GB, free: 3.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006256/0.5246, allocations: 220.8 kB / 0.6343 GB, free: 3.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.5246, allocations: 55.41 kB / 0.6344 GB, free: 3.582 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.5248, allocations: 218.9 kB / 0.6346 GB, free: 3.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.5248, allocations: 29.7 kB / 0.6346 GB, free: 3.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.525, allocations: 214.8 kB / 0.6348 GB, free: 3.105 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.525, allocations: 55.28 kB / 0.6349 GB, free: 3.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.5251, allocations: 89.94 kB / 0.6349 GB, free: 2.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5252, allocations: 326.8 kB / 0.6353 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.5253, allocations: 44.84 kB / 0.6353 GB, free: 2.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.5256, allocations: 332 kB / 0.6356 GB, free: 2.125 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.526, allocations: 436.5 kB / 0.636 GB, free: 1.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.526, allocations: 3.812 kB / 0.636 GB, free: 1.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005431/0.5266, allocations: 381.2 kB / 0.6364 GB, free: 1.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5266, allocations: 11.98 kB / 0.6364 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5266, allocations: 12 kB / 0.6364 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.5266, allocations: 15.94 kB / 0.6364 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.527, allocations: 111.8 kB / 0.6365 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.527, allocations: 20.52 kB / 0.6366 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.5272, allocations: 16 kB / 0.6366 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.5273, allocations: 28 kB / 0.6366 GB, free: 0.9727 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.0001293/0.5274, allocations: 145.7 kB / 0.6367 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.5275, allocations: 23.72 kB / 0.6368 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.5278, allocations: 159.8 kB / 0.6369 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.5278, allocations: 3.938 kB / 0.6369 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5278, allocations: 3.938 kB / 0.6369 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5278, allocations: 0 / 0.6369 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.5283, allocations: 447.9 kB / 0.6374 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5283, allocations: 0 / 0.6374 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.5285, allocations: 35.97 kB / 0.6374 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5285, allocations: 4.062 kB / 0.6374 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5286, allocations: 4 kB / 0.6374 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5286, allocations: 0 / 0.6374 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-06/0.5286, allocations: 0 / 0.6374 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.5289, allocations: 220.9 kB / 0.6376 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.529, allocations: 96.91 kB / 0.6377 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.529, allocations: 11.89 kB / 0.6377 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.5292, allocations: 8 kB / 0.6377 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.5292, allocations: 15.92 kB / 0.6377 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.5292, allocations: 11.98 kB / 0.6377 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.5294, allocations: 144.5 kB / 0.6379 GB, free: 15.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5294, allocations: 0 / 0.6379 GB, free: 15.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004709/0.5298, allocations: 91.98 kB / 0.638 GB, free: 15.45 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.0006283/0.5305, allocations: 0.813 MB / 0.6388 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.5308, allocations: 176.9 kB / 0.6389 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5308, allocations: 0 / 0.6389 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.5309, allocations: 39.92 kB / 0.639 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.5313, allocations: 50.64 kB / 0.639 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.5345, allocations: 2.717 MB / 0.6417 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.5348, allocations: 0.7245 MB / 0.6424 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002555/0.535, allocations: 62.81 kB / 0.6424 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5352, allocations: 59.42 kB / 0.6425 GB, free: 10.41 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5352, allocations: 0 / 0.6425 GB, free: 10.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.5592, allocations: 5.335 MB / 0.6477 GB, free: 5.074 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/8.202, allocations: 13.08 kB / 0.6477 GB, free: 5.062 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