Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008813/0.0008812, allocations: 95.61 kB / 17.35 MB, free: 6.371 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.001079/0.001079, allocations: 172.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004945, allocations: 12 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1623, allocations: 61.92 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4976/0.6599, allocations: 132.3 MB / 0.5904 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005756/0.6657, allocations: 4.679 MB / 0.5949 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.6659, allocations: 0 / 0.5949 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.6663, allocations: 51.72 kB / 0.595 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.6684, allocations: 0.6648 MB / 0.5956 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.6689, allocations: 156.5 kB / 0.5958 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.6696, allocations: 442.1 kB / 0.5962 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.6696, allocations: 9.688 kB / 0.5962 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.6699, allocations: 155.3 kB / 0.5963 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.6702, allocations: 195.4 kB / 0.5965 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.6703, allocations: 4 kB / 0.5965 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.6718, allocations: 0.7135 MB / 0.5972 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.6719, allocations: 51.75 kB / 0.5973 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.672, allocations: 133.2 kB / 0.5974 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.6727, allocations: 468.7 kB / 0.5979 GB, free: 6.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6727, allocations: 0 / 0.5979 GB, free: 6.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6727, allocations: 4 kB / 0.5979 GB, free: 6.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.6727, allocations: 0 / 0.5979 GB, free: 6.203 MB / 430.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.001042/0.6738, allocations: 0.5429 MB / 0.5984 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6738, allocations: 8.031 kB / 0.5984 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.674, allocations: 24.75 kB / 0.5984 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.6742, allocations: 224.1 kB / 0.5986 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.6744, allocations: 123.9 kB / 0.5988 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.6744, allocations: 24.56 kB / 0.5988 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.675, allocations: 326.7 kB / 0.5991 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.675, allocations: 3.984 kB / 0.5991 GB, free: 4.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.675, allocations: 15.98 kB / 0.5991 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.675, allocations: 8 kB / 0.5991 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.6759, allocations: 0.7352 MB / 0.5998 GB, free: 4.047 MB / 430.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.001498/0.6774, allocations: 1.226 MB / 0.601 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.6779, allocations: 172.5 kB / 0.6012 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.678, allocations: 89.47 kB / 0.6013 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002413/0.6804, allocations: 2.699 MB / 0.6039 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.6805, allocations: 38 kB / 0.604 GB, free: 15.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.6805, allocations: 0 / 0.604 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005829/0.6811, allocations: 212.9 kB / 0.6042 GB, free: 14.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.6811, allocations: 59.34 kB / 0.6042 GB, free: 14.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.6813, allocations: 218.9 kB / 0.6044 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.6814, allocations: 25.7 kB / 0.6044 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.6815, allocations: 218.8 kB / 0.6047 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.6816, allocations: 51.34 kB / 0.6047 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.6816, allocations: 37.7 kB / 0.6047 GB, free: 14.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6818, allocations: 326.8 kB / 0.6051 GB, free: 14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.6818, allocations: 48.83 kB / 0.6051 GB, free: 13.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.6821, allocations: 336 kB / 0.6054 GB, free: 13.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.6826, allocations: 430 kB / 0.6058 GB, free: 12.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6826, allocations: 0 / 0.6058 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005338/0.6831, allocations: 388.9 kB / 0.6062 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6831, allocations: 8 kB / 0.6062 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6832, allocations: 12 kB / 0.6062 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.6832, allocations: 12.81 kB / 0.6062 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.6835, allocations: 119.7 kB / 0.6063 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.6836, allocations: 19.92 kB / 0.6064 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.6838, allocations: 16 kB / 0.6064 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.6838, allocations: 28 kB / 0.6064 GB, free: 12.33 MB / 446.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.0001492/0.684, allocations: 161.5 kB / 0.6066 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.684, allocations: 19.81 kB / 0.6066 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.6843, allocations: 155.1 kB / 0.6067 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6843, allocations: 3.938 kB / 0.6067 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6843, allocations: 4 kB / 0.6067 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6844, allocations: 0 / 0.6067 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.6849, allocations: 444 kB / 0.6072 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.6849, allocations: 0 / 0.6072 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.685, allocations: 31.92 kB / 0.6072 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.685, allocations: 0 / 0.6072 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.685, allocations: 4 kB / 0.6072 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6851, allocations: 0 / 0.6072 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.6851, allocations: 0 / 0.6072 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.6853, allocations: 240.8 kB / 0.6074 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.6854, allocations: 104.8 kB / 0.6075 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.6854, allocations: 7.984 kB / 0.6075 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.6856, allocations: 8 kB / 0.6075 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.6857, allocations: 7.984 kB / 0.6075 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.6857, allocations: 11.98 kB / 0.6076 GB, free: 11.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.6858, allocations: 152.5 kB / 0.6077 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6859, allocations: 0 / 0.6077 GB, free: 10.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.6864, allocations: 91.98 kB / 0.6078 GB, free: 10.8 MB / 446.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.0002973/0.6867, allocations: 163.6 kB / 0.6079 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.687, allocations: 177.6 kB / 0.6081 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.687, allocations: 0 / 0.6081 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.687, allocations: 35.92 kB / 0.6081 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.6875, allocations: 45.16 kB / 0.6082 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009593/0.6885, allocations: 0.5984 MB / 0.6088 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.6888, allocations: 0.7287 MB / 0.6095 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.6891, allocations: 58.81 kB / 0.6095 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.6892, allocations: 27.44 kB / 0.6096 GB, free: 8.902 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6892, allocations: 0 / 0.6096 GB, free: 8.902 MB / 446.1 MB Notification: Performance of Templates: time 0.01074/0.7, allocations: 3.056 MB / 0.6126 GB, free: 5.887 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches