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.001375/0.001375, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.3 MB, free: 9.137 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2893/0.2893, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 416.9 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 62.44 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4213/0.5415, allocations: 161.4 MB / 0.6257 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.5453, allocations: 1.763 MB / 0.6274 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.5459, allocations: 23.81 kB / 0.6274 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.5467, allocations: 183 kB / 0.6276 GB, free: 396 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.55, allocations: 0.6898 MB / 0.6282 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.5525, allocations: 0.5823 MB / 0.6288 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.5549, allocations: 1.61 MB / 0.6304 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.5555, allocations: 294.4 kB / 0.6307 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.5567, allocations: 418.4 kB / 0.6311 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.5577, allocations: 394.4 kB / 0.6314 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.5579, allocations: 24 kB / 0.6315 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.5593, allocations: 0.4953 MB / 0.632 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.5595, allocations: 135.5 kB / 0.6321 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.5599, allocations: 254.8 kB / 0.6323 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.5616, allocations: 0.9465 MB / 0.6332 GB, free: 10.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5616, allocations: 4 kB / 0.6333 GB, free: 10.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5616, allocations: 0 / 0.6333 GB, free: 10.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.5617, allocations: 0 / 0.6333 GB, free: 10.57 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002231/0.5639, allocations: 0.9062 MB / 0.6341 GB, free: 9.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.564, allocations: 13.11 kB / 0.6341 GB, free: 9.598 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004776/0.5645, allocations: 71.33 kB / 0.6342 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.5651, allocations: 390.4 kB / 0.6346 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.5652, allocations: 54.7 kB / 0.6346 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/0.5653, allocations: 43.94 kB / 0.6347 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.5664, allocations: 0.5205 MB / 0.6352 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5664, allocations: 0 / 0.6352 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.5665, allocations: 24 kB / 0.6352 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.5665, allocations: 12.66 kB / 0.6352 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/0.5675, allocations: 410.1 kB / 0.6356 GB, free: 8.004 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.003356/0.5709, allocations: 2.469 MB / 0.638 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.5717, allocations: 339.4 kB / 0.6384 GB, free: 5.016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.5721, allocations: 161.3 kB / 0.6385 GB, free: 4.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.5721, allocations: 8.219 kB / 0.6385 GB, free: 4.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.5727, allocations: 264.8 kB / 0.6388 GB, free: 4.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.777e-06/0.5727, allocations: 7.922 kB / 0.6388 GB, free: 4.559 MB / 478.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.01259/0.5853, allocations: 3.24 MB / 0.6419 GB, free: 1.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.5855, allocations: 166.2 kB / 0.6421 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.5859, allocations: 385.6 kB / 0.6425 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.586, allocations: 29.7 kB / 0.6425 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.5862, allocations: 263.9 kB / 0.6427 GB, free: 316 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.5863, allocations: 161.7 kB / 0.6429 GB, free: 152 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.5865, allocations: 126.2 kB / 0.643 GB, free: 20 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5867, allocations: 358.9 kB / 0.6434 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/0.5873, allocations: 221.1 kB / 0.6436 GB, free: 15.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/0.5881, allocations: 405.1 kB / 0.644 GB, free: 14.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.5894, allocations: 0.6355 MB / 0.6446 GB, free: 14.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5895, allocations: 4 kB / 0.6446 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001947/0.5914, allocations: 0.7902 MB / 0.6454 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.5915, allocations: 33.7 kB / 0.6454 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5915, allocations: 4.656 kB / 0.6454 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004564/0.592, allocations: 129.7 kB / 0.6455 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.5925, allocations: 127.8 kB / 0.6456 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000615/0.5932, allocations: 0.6772 MB / 0.6463 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.5938, allocations: 60 kB / 0.6464 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.5939, allocations: 44 kB / 0.6464 GB, free: 12.34 MB / 494.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 (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.0003169/0.5942, allocations: 197.6 kB / 0.6466 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5943, allocations: 47.44 kB / 0.6466 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5965, allocations: 0.7286 MB / 0.6473 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.5965, allocations: 8 kB / 0.6474 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5965, allocations: 3.938 kB / 0.6474 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5965, allocations: 3.984 kB / 0.6474 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.5993, allocations: 1.284 MB / 0.6486 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.5993, allocations: 5.562 kB / 0.6486 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.5998, allocations: 108 kB / 0.6487 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006092/0.6004, allocations: 108.7 kB / 0.6488 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.6005, allocations: 19.92 kB / 0.6488 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.6025, allocations: 1.688 MB / 0.6505 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6025, allocations: 7.969 kB / 0.6505 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.6048, allocations: 0.9736 MB / 0.6515 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.6051, allocations: 160.5 kB / 0.6516 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.6053, allocations: 19.92 kB / 0.6516 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.6058, allocations: 39.95 kB / 0.6517 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.606, allocations: 71.84 kB / 0.6517 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.6061, allocations: 36 kB / 0.6518 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.6064, allocations: 279.1 kB / 0.652 GB, free: 6.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6064, allocations: 0 / 0.652 GB, free: 6.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008657/0.6073, allocations: 228 kB / 0.6522 GB, free: 6.07 MB / 494.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 (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.0008843/0.6082, allocations: 302.4 kB / 0.6525 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.6098, allocations: 0.6031 MB / 0.6531 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6099, allocations: 7.938 kB / 0.6531 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.6108, allocations: 407.3 kB / 0.6535 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.6119, allocations: 201.6 kB / 0.6537 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6142, allocations: 1.326 MB / 0.655 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.6147, allocations: 0.8591 MB / 0.6558 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008036/0.6155, allocations: 156.7 kB / 0.656 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.6158, allocations: 67.42 kB / 0.6561 GB, free: 2.066 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6158, allocations: 0 / 0.6561 GB, free: 2.066 MB / 494.1 MB Notification: Performance of Templates: time 0.02622/0.642, allocations: 12.67 MB / 0.6684 GB, free: 5.484 MB / 0.4981 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