Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001634/0.001634, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001775, allocations: 79.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4288, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1987/0.6275, allocations: 163.4 MB / 0.6906 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004063/0.6317, allocations: 1.658 MB / 0.6922 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005727/0.6323, allocations: 15.88 kB / 0.6922 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.6331, allocations: 214.5 kB / 0.6924 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.6357, allocations: 0.7763 MB / 0.6932 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.6378, allocations: 0.6778 MB / 0.6938 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.6396, allocations: 1.154 MB / 0.695 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.6401, allocations: 326 kB / 0.6953 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008594/0.6409, allocations: 490.2 kB / 0.6957 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.6414, allocations: 374.5 kB / 0.6961 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.6415, allocations: 44 kB / 0.6961 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.6428, allocations: 0.5734 MB / 0.6967 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.643, allocations: 159.5 kB / 0.6968 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.6433, allocations: 262.8 kB / 0.6971 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.6447, allocations: 0.9699 MB / 0.698 GB, free: 6.043 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6447, allocations: 0 / 0.698 GB, free: 6.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6447, allocations: 0 / 0.698 GB, free: 6.043 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6448, allocations: 0 / 0.698 GB, free: 6.043 MB / 0.545 GB 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.001774/0.6465, allocations: 0.9023 MB / 0.6989 GB, free: 5.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6466, allocations: 9.109 kB / 0.6989 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.647, allocations: 83.33 kB / 0.699 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.6477, allocations: 410.2 kB / 0.6994 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.6478, allocations: 70.62 kB / 0.6995 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.6478, allocations: 36 kB / 0.6995 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/0.6488, allocations: 0.5205 MB / 0.7 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.6488, allocations: 4 kB / 0.7 GB, free: 3.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.6489, allocations: 15.98 kB / 0.7 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.6489, allocations: 20.59 kB / 0.7001 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.6499, allocations: 402.2 kB / 0.7004 GB, free: 3.453 MB / 0.545 GB 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.003169/0.6531, allocations: 2.458 MB / 0.7028 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.6539, allocations: 350.5 kB / 0.7032 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.6543, allocations: 161.3 kB / 0.7033 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.6543, allocations: 4.281 kB / 0.7033 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/0.6549, allocations: 272.7 kB / 0.7036 GB, free: 20 kB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.6549, allocations: 0 / 0.7036 GB, free: 20 kB / 0.545 GB 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.01231/0.6672, allocations: 3.244 MB / 0.7068 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6673, allocations: 162.2 kB / 0.7069 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.6678, allocations: 389.5 kB / 0.7073 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.6679, allocations: 37.7 kB / 0.7073 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.6681, allocations: 252 kB / 0.7076 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.6682, allocations: 161.7 kB / 0.7077 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.6684, allocations: 130.2 kB / 0.7078 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6686, allocations: 358.8 kB / 0.7082 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.6692, allocations: 213.2 kB / 0.7084 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.67, allocations: 413.1 kB / 0.7088 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.6713, allocations: 0.6316 MB / 0.7094 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6713, allocations: 0 / 0.7094 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001849/0.6732, allocations: 0.7941 MB / 0.7102 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.6732, allocations: 33.7 kB / 0.7102 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6733, allocations: 4 kB / 0.7102 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.6737, allocations: 121.4 kB / 0.7103 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.6743, allocations: 135.8 kB / 0.7105 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005491/0.6748, allocations: 0.6771 MB / 0.7111 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.6753, allocations: 55.95 kB / 0.7112 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.6754, allocations: 43.98 kB / 0.7112 GB, free: 7.801 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.6757, allocations: 201.6 kB / 0.7114 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.6757, allocations: 51.42 kB / 0.7115 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.6776, allocations: 0.733 MB / 0.7122 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6776, allocations: 4 kB / 0.7122 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6777, allocations: 4 kB / 0.7122 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.6777, allocations: 7.922 kB / 0.7122 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.6801, allocations: 1.277 MB / 0.7134 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6801, allocations: 4 kB / 0.7134 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.6806, allocations: 103.9 kB / 0.7135 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.6812, allocations: 108.8 kB / 0.7136 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.6812, allocations: 19.98 kB / 0.7137 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.6831, allocations: 1.81 MB / 0.7154 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6831, allocations: 4.031 kB / 0.7154 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.6855, allocations: 0.9748 MB / 0.7164 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.6858, allocations: 164.5 kB / 0.7165 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.6859, allocations: 12 kB / 0.7165 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.6863, allocations: 43.95 kB / 0.7166 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.6865, allocations: 55.92 kB / 0.7166 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.6866, allocations: 35.98 kB / 0.7167 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003407/0.6869, allocations: 279.1 kB / 0.7169 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6869, allocations: 0 / 0.7169 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009318/0.6879, allocations: 231.9 kB / 0.7172 GB, free: 1.406 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008855/0.6888, allocations: 319.6 kB / 0.7175 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.6905, allocations: 0.6105 MB / 0.7181 GB, free: 488 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6905, allocations: 0 / 0.7181 GB, free: 488 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008762/0.6914, allocations: 418.9 kB / 0.7185 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2791/0.9705, allocations: 198.8 kB / 0.7187 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.9731, allocations: 1.142 MB / 0.7198 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.9736, allocations: 0.8542 MB / 0.7206 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006175/0.9742, allocations: 159.8 kB / 0.7208 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.9745, allocations: 74.94 kB / 0.7208 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.9745, allocations: 0 / 0.7208 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.02232/0.9968, allocations: 13.58 MB / 0.7341 GB, free: 176.3 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches