Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009629, allocations: 97.67 kB / 16.98 MB, free: 6.398 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.0009752/0.0009753, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.348/1.348, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003518, allocations: 12.83 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4357/0.56, allocations: 133.1 MB / 0.5904 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.5646, allocations: 2.396 MB / 0.5927 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005705/0.5652, allocations: 19.88 kB / 0.5927 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.5659, allocations: 167.1 kB / 0.5929 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.568, allocations: 0.6091 MB / 0.5935 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.5696, allocations: 0.5282 MB / 0.594 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.5709, allocations: 0.6682 MB / 0.5946 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005911/0.5715, allocations: 277.6 kB / 0.5949 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009201/0.5724, allocations: 374.8 kB / 0.5953 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.5729, allocations: 259 kB / 0.5955 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.573, allocations: 24 kB / 0.5955 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.5742, allocations: 387.5 kB / 0.5959 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.5743, allocations: 127.6 kB / 0.596 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.5745, allocations: 125.5 kB / 0.5962 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008626/0.5754, allocations: 0.6297 MB / 0.5968 GB, free: 6.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5754, allocations: 4 kB / 0.5968 GB, free: 6.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5754, allocations: 0 / 0.5968 GB, free: 6.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.5755, allocations: 0 / 0.5968 GB, free: 6.281 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001911/0.5774, allocations: 0.8056 MB / 0.5976 GB, free: 5.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5774, allocations: 12.56 kB / 0.5976 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.5779, allocations: 75.33 kB / 0.5976 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.5787, allocations: 382.5 kB / 0.598 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5788, allocations: 64.88 kB / 0.5981 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.5789, allocations: 43.94 kB / 0.5981 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.58, allocations: 0.5205 MB / 0.5986 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.58, allocations: 3.938 kB / 0.5986 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.5801, allocations: 16 kB / 0.5986 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.5801, allocations: 24.64 kB / 0.5987 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009134/0.581, allocations: 422.2 kB / 0.5991 GB, free: 3.789 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.003491/0.5845, allocations: 2.507 MB / 0.6015 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000857/0.5854, allocations: 355.5 kB / 0.6019 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.5855, allocations: 8.266 kB / 0.6019 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005649/0.5861, allocations: 281.3 kB / 0.6021 GB, free: 448 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.5861, allocations: 3.938 kB / 0.6021 GB, free: 444 kB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01242/0.5985, allocations: 3.591 MB / 0.6056 GB, free: 12.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.5986, allocations: 166.1 kB / 0.6058 GB, free: 12.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.5991, allocations: 381.5 kB / 0.6062 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.5992, allocations: 37.7 kB / 0.6062 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5994, allocations: 259.9 kB / 0.6064 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.5995, allocations: 165.6 kB / 0.6066 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.5995, allocations: 12 kB / 0.6066 GB, free: 11.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5997, allocations: 358.8 kB / 0.607 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.6003, allocations: 237.2 kB / 0.6072 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.6011, allocations: 433.1 kB / 0.6076 GB, free: 10.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.6018, allocations: 322.2 kB / 0.6079 GB, free: 10.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6018, allocations: 0 / 0.6079 GB, free: 10.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001914/0.6037, allocations: 0.8099 MB / 0.6087 GB, free: 9.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.6038, allocations: 38.34 kB / 0.6087 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.6038, allocations: 12 kB / 0.6087 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.6043, allocations: 116.8 kB / 0.6089 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.6049, allocations: 151.7 kB / 0.609 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006348/0.6055, allocations: 0.6733 MB / 0.6097 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.6061, allocations: 68.02 kB / 0.6097 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.6062, allocations: 51.92 kB / 0.6098 GB, free: 8.285 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003146/0.6065, allocations: 193.6 kB / 0.61 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.6066, allocations: 51.38 kB / 0.61 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.6086, allocations: 0.7806 MB / 0.6108 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6086, allocations: 4 kB / 0.6108 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6086, allocations: 0 / 0.6108 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6087, allocations: 7.984 kB / 0.6108 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.6112, allocations: 1.321 MB / 0.6121 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6113, allocations: 4 kB / 0.6121 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.6118, allocations: 116 kB / 0.6122 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005799/0.6124, allocations: 112.8 kB / 0.6123 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.6124, allocations: 12 kB / 0.6123 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.6143, allocations: 1.722 MB / 0.614 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6143, allocations: 0 / 0.614 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.6166, allocations: 1.115 MB / 0.6151 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.6169, allocations: 164.5 kB / 0.6152 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-05/0.617, allocations: 8 kB / 0.6152 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.6175, allocations: 67.88 kB / 0.6153 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.6177, allocations: 59.91 kB / 0.6154 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.6177, allocations: 35.98 kB / 0.6154 GB, free: 2.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.618, allocations: 271.2 kB / 0.6156 GB, free: 1.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6181, allocations: 0 / 0.6156 GB, free: 1.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008607/0.6189, allocations: 232 kB / 0.6159 GB, free: 1.715 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007255/0.6197, allocations: 305.7 kB / 0.6162 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.6212, allocations: 0.6501 MB / 0.6168 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6212, allocations: 0 / 0.6168 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008336/0.622, allocations: 442.3 kB / 0.6172 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.623, allocations: 181.9 kB / 0.6174 GB, free: 132 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.625, allocations: 1.387 MB / 0.6187 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.6254, allocations: 0.8631 MB / 0.6196 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007034/0.6261, allocations: 159.6 kB / 0.6197 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.6264, allocations: 67.42 kB / 0.6198 GB, free: 13.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.724e-06/0.6264, allocations: 0 / 0.6198 GB, free: 13.58 MB / 462.1 MB Notification: Performance of Templates: time 0.02067/0.647, allocations: 12.24 MB / 0.6318 GB, free: 1.441 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches