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: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 117.4 kB / 17.08 MB, free: 5.965 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.001174/0.001174, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.385/1.385, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2069/0.2069, allocations: 43.52 MB / 314.8 MB, free: 452 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.001412/0.001412, allocations: 61.47 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3657/0.4779, allocations: 136.2 MB / 0.6215 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.4831, allocations: 4.714 MB / 0.6262 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.4833, allocations: 0 / 0.6262 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.4837, allocations: 55.59 kB / 0.6262 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.4857, allocations: 0.7228 MB / 0.6269 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.4861, allocations: 172.5 kB / 0.6271 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.4867, allocations: 374.2 kB / 0.6274 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.4868, allocations: 13.62 kB / 0.6274 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.4871, allocations: 147.5 kB / 0.6276 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.4874, allocations: 195.3 kB / 0.6278 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.4875, allocations: 8 kB / 0.6278 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.4889, allocations: 0.6785 MB / 0.6284 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.053e-05/0.489, allocations: 47.81 kB / 0.6285 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.4892, allocations: 111.5 kB / 0.6286 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009243/0.4901, allocations: 457.5 kB / 0.629 GB, free: 10.77 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4901, allocations: 8 kB / 0.629 GB, free: 10.77 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4901, allocations: 0 / 0.629 GB, free: 10.77 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4901, allocations: 0 / 0.629 GB, free: 10.77 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.001093/0.4912, allocations: 0.593 MB / 0.6296 GB, free: 10.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4913, allocations: 11.89 kB / 0.6296 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.4915, allocations: 32.64 kB / 0.6297 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.4918, allocations: 228.1 kB / 0.6299 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.492, allocations: 123.9 kB / 0.63 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.492, allocations: 24.56 kB / 0.63 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.4925, allocations: 322.7 kB / 0.6303 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4926, allocations: 4 kB / 0.6303 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.4926, allocations: 12 kB / 0.6303 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.4926, allocations: 8 kB / 0.6303 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.4934, allocations: 0.7352 MB / 0.6311 GB, free: 8.547 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.001305/0.4947, allocations: 1.233 MB / 0.6323 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.4951, allocations: 167.7 kB / 0.6324 GB, free: 7.027 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.4953, allocations: 89.48 kB / 0.6325 GB, free: 6.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/0.4976, allocations: 2.707 MB / 0.6352 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.4976, allocations: 38.5 kB / 0.6352 GB, free: 3.672 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.4976, allocations: 0 / 0.6352 GB, free: 3.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.000626/0.4983, allocations: 208.9 kB / 0.6354 GB, free: 3.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.4983, allocations: 55.34 kB / 0.6354 GB, free: 3.395 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.4985, allocations: 222.8 kB / 0.6357 GB, free: 3.164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.4985, allocations: 33.7 kB / 0.6357 GB, free: 3.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4987, allocations: 206.8 kB / 0.6359 GB, free: 2.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.4987, allocations: 55.3 kB / 0.6359 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.4988, allocations: 85.94 kB / 0.636 GB, free: 2.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4989, allocations: 330.8 kB / 0.6363 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.499, allocations: 52.84 kB / 0.6364 GB, free: 2.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.4993, allocations: 332 kB / 0.6367 GB, free: 1.926 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.4997, allocations: 430.6 kB / 0.6371 GB, free: 1.367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4997, allocations: 4 kB / 0.6371 GB, free: 1.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005649/0.5003, allocations: 379.6 kB / 0.6375 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5003, allocations: 12 kB / 0.6375 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.5004, allocations: 8 kB / 0.6375 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.5004, allocations: 12 kB / 0.6375 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.5007, allocations: 115.8 kB / 0.6376 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.5008, allocations: 15.94 kB / 0.6376 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.501, allocations: 20 kB / 0.6377 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.501, allocations: 31.55 kB / 0.6377 GB, free: 0.7812 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.0001345/0.5012, allocations: 149.7 kB / 0.6378 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.5012, allocations: 19.81 kB / 0.6379 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.5015, allocations: 147.8 kB / 0.638 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5015, allocations: 15.88 kB / 0.638 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5016, allocations: 0 / 0.638 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5016, allocations: 0 / 0.638 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.5021, allocations: 448 kB / 0.6384 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5021, allocations: 0 / 0.6384 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.5023, allocations: 31.92 kB / 0.6385 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5023, allocations: 0 / 0.6385 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.5023, allocations: 7.984 kB / 0.6385 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5023, allocations: 4.062 kB / 0.6385 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5023, allocations: 4 kB / 0.6385 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.5026, allocations: 213 kB / 0.6387 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.5026, allocations: 96.91 kB / 0.6388 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.5027, allocations: 11.91 kB / 0.6388 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.5029, allocations: 11.98 kB / 0.6388 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.5029, allocations: 15.92 kB / 0.6388 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.503, allocations: 4 kB / 0.6388 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.5031, allocations: 152.5 kB / 0.639 GB, free: 15.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5031, allocations: 3.828 kB / 0.639 GB, free: 15.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.5036, allocations: 88 kB / 0.6391 GB, free: 15.27 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.0002919/0.5039, allocations: 167.1 kB / 0.6392 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.5042, allocations: 185.7 kB / 0.6394 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5042, allocations: 0 / 0.6394 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.5043, allocations: 36.55 kB / 0.6394 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.5047, allocations: 56.53 kB / 0.6395 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.5056, allocations: 498.2 kB / 0.64 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.5059, allocations: 0.7285 MB / 0.6407 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.506, allocations: 35.42 kB / 0.6407 GB, free: 13.52 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.506, allocations: 0 / 0.6407 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Templates: time 0.005658/0.5116, allocations: 3.281 MB / 0.6439 GB, free: 10.24 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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