Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 72.7 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 175.4 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 158.6 MB / 185 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2477/0.2477, allocations: 32.37 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.558e-05, allocations: 2.281 kB / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5177/0.5178, allocations: 141 MB / 0.5355 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007293/0.5251, allocations: 3.82 MB / 0.5392 GB, free: 14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005528/0.5256, allocations: 23.28 kB / 0.5392 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.5264, allocations: 198.9 kB / 0.5394 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.5293, allocations: 0.8808 MB / 0.5403 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5318, allocations: 0.7034 MB / 0.541 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.5342, allocations: 1.171 MB / 0.5421 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.535, allocations: 282.4 kB / 0.5424 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.5363, allocations: 0.6231 MB / 0.543 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/0.5368, allocations: 344.2 kB / 0.5433 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.5369, allocations: 44.91 kB / 0.5434 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.5384, allocations: 0.5185 MB / 0.5439 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.5387, allocations: 165.7 kB / 0.544 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.539, allocations: 194.6 kB / 0.5442 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.5413, allocations: 1.049 MB / 0.5452 GB, free: 9.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5413, allocations: 0 / 0.5452 GB, free: 9.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.5413, allocations: 0 / 0.5452 GB, free: 9.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.5414, allocations: 4 kB / 0.5452 GB, free: 9.969 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.002439/0.5438, allocations: 0.8378 MB / 0.5461 GB, free: 9.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.5439, allocations: 8.031 kB / 0.5461 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.5444, allocations: 75.66 kB / 0.5461 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.5452, allocations: 344.8 kB / 0.5465 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5453, allocations: 88.41 kB / 0.5466 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.5454, allocations: 39.95 kB / 0.5466 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.5467, allocations: 0.7754 MB / 0.5473 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.5467, allocations: 3.938 kB / 0.5474 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.5468, allocations: 19.94 kB / 0.5474 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.5468, allocations: 20.64 kB / 0.5474 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5479, allocations: 398.2 kB / 0.5478 GB, free: 7.191 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.003468/0.5513, allocations: 1.938 MB / 0.5497 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.5522, allocations: 319.5 kB / 0.55 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.5527, allocations: 153.3 kB / 0.5501 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.5527, allocations: 12.16 kB / 0.5501 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/0.5535, allocations: 444.7 kB / 0.5505 GB, free: 4.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 3.106e-06/0.5535, allocations: 4 kB / 0.5506 GB, free: 4.188 MB / 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.0135/0.567, allocations: 3.01 MB / 0.5535 GB, free: 1.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.5672, allocations: 170.2 kB / 0.5537 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.5677, allocations: 377.4 kB / 0.554 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.5678, allocations: 41.64 kB / 0.5541 GB, free: 496 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.5681, allocations: 260.4 kB / 0.5543 GB, free: 232 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.5682, allocations: 170.6 kB / 0.5545 GB, free: 60 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.5685, allocations: 122.3 kB / 0.5546 GB, free: 15.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.5687, allocations: 354.7 kB / 0.5549 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.5694, allocations: 250.8 kB / 0.5552 GB, free: 15.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009549/0.5704, allocations: 0.5251 MB / 0.5557 GB, free: 14.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.5719, allocations: 0.6365 MB / 0.5563 GB, free: 13.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5719, allocations: 4 kB / 0.5563 GB, free: 13.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002173/0.5741, allocations: 0.8132 MB / 0.5571 GB, free: 13.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.5742, allocations: 38.3 kB / 0.5571 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5742, allocations: 8 kB / 0.5571 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.5747, allocations: 116.8 kB / 0.5572 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.5753, allocations: 131.8 kB / 0.5574 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/0.5761, allocations: 0.6772 MB / 0.558 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.5766, allocations: 52.02 kB / 0.5581 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/0.5767, allocations: 47.98 kB / 0.5581 GB, free: 12.04 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 (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.0003559/0.5771, allocations: 205.5 kB / 0.5583 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.5772, allocations: 47.72 kB / 0.5584 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.5794, allocations: 0.7347 MB / 0.5591 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5794, allocations: 4 kB / 0.5591 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5794, allocations: 0 / 0.5591 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5794, allocations: 3.984 kB / 0.5591 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.5822, allocations: 1.125 MB / 0.5602 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5822, allocations: 0 / 0.5602 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.5828, allocations: 103.9 kB / 0.5603 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006211/0.5834, allocations: 108.9 kB / 0.5604 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.5834, allocations: 19.98 kB / 0.5604 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.5856, allocations: 1.683 MB / 0.5621 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5856, allocations: 4.031 kB / 0.5621 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.5881, allocations: 0.9678 MB / 0.563 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.5884, allocations: 91.64 kB / 0.5631 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/0.5885, allocations: 11.94 kB / 0.5631 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.589, allocations: 47.95 kB / 0.5632 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.5891, allocations: 67.83 kB / 0.5632 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.5892, allocations: 35.98 kB / 0.5633 GB, free: 6.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00035/0.5896, allocations: 255.2 kB / 0.5635 GB, free: 6.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5896, allocations: 0 / 0.5635 GB, free: 6.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009513/0.5905, allocations: 239.7 kB / 0.5637 GB, free: 6.098 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 (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.001012/0.5915, allocations: 325.8 kB / 0.564 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.5933, allocations: 0.6172 MB / 0.5646 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5933, allocations: 0 / 0.5646 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.5943, allocations: 414.5 kB / 0.565 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5955, allocations: 207.4 kB / 0.5652 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.5977, allocations: 1.037 MB / 0.5662 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.598, allocations: 252.9 kB / 0.5665 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005341/0.5986, allocations: 152.5 kB / 0.5666 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.5988, allocations: 76.47 kB / 0.5667 GB, free: 2.957 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5988, allocations: 3.938 kB / 0.5667 GB, free: 2.953 MB / 446.1 MB Notification: Performance of Templates: time 0.02634/0.6251, allocations: 13.37 MB / 0.5798 GB, free: 5.645 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.187860459089279]