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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.002172/0.002172, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.002716/0.002716, allocations: 198.4 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.955/2.955, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4687/0.4687, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003166/0.003166, allocations: 75.89 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2061, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.9219/1.128, allocations: 163.3 MB / 0.6481 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/1.14, allocations: 4.099 MB / 0.6521 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/1.141, allocations: 19.88 kB / 0.6521 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/1.142, allocations: 214.6 kB / 0.6523 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004707/1.147, allocations: 0.8283 MB / 0.6531 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00359/1.151, allocations: 0.6732 MB / 0.6538 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002875/1.154, allocations: 1.143 MB / 0.6549 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/1.155, allocations: 329.5 kB / 0.6552 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/1.157, allocations: 474.2 kB / 0.6556 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/1.158, allocations: 374.5 kB / 0.656 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/1.158, allocations: 44 kB / 0.656 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/1.161, allocations: 0.6019 MB / 0.6566 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004491/1.162, allocations: 159.5 kB / 0.6568 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008328/1.163, allocations: 266.7 kB / 0.657 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/1.167, allocations: 0.9738 MB / 0.658 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/1.167, allocations: 0 / 0.658 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.507e-06/1.167, allocations: 0 / 0.658 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.159e-05/1.167, allocations: 4 kB / 0.658 GB, free: 12.96 MB / 0.4981 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.004125/1.171, allocations: 0.8945 MB / 0.6589 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.241e-05/1.171, allocations: 11.89 kB / 0.6589 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008984/1.172, allocations: 83.31 kB / 0.6589 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.174, allocations: 410.3 kB / 0.6593 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.174, allocations: 58.64 kB / 0.6594 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/1.174, allocations: 47.97 kB / 0.6594 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/1.178, allocations: 0.524 MB / 0.66 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.008e-05/1.178, allocations: 7.906 kB / 0.66 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.178, allocations: 16 kB / 0.66 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/1.178, allocations: 16.66 kB / 0.66 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/1.18, allocations: 406.1 kB / 0.6604 GB, free: 10.37 MB / 0.4981 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.005805/1.186, allocations: 2.475 MB / 0.6628 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.187, allocations: 343.3 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/1.188, allocations: 161.3 kB / 0.6633 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/1.188, allocations: 8.266 kB / 0.6633 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000935/1.189, allocations: 276 kB / 0.6635 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 5.34e-06/1.189, allocations: 0 / 0.6635 GB, free: 6.91 MB / 0.4981 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.02027/1.209, allocations: 3.251 MB / 0.6667 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.209, allocations: 158.2 kB / 0.6669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/1.21, allocations: 389.5 kB / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/1.21, allocations: 41.69 kB / 0.6673 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/1.21, allocations: 248 kB / 0.6675 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/1.211, allocations: 161.7 kB / 0.6677 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/1.211, allocations: 122.2 kB / 0.6678 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002748/1.211, allocations: 358.8 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.212, allocations: 217.1 kB / 0.6683 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/1.214, allocations: 413.1 kB / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/1.216, allocations: 0.6316 MB / 0.6694 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/1.216, allocations: 0 / 0.6694 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003429/1.22, allocations: 0.7942 MB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.315e-05/1.22, allocations: 36.36 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/1.22, allocations: 4.875 kB / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/1.221, allocations: 125.9 kB / 0.6703 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.222, allocations: 135.8 kB / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/1.223, allocations: 0.6709 MB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.224, allocations: 56 kB / 0.6711 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.224, allocations: 40 kB / 0.6712 GB, free: 14.71 MB / 0.5137 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.0006509/1.225, allocations: 209.2 kB / 0.6714 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/1.225, allocations: 51.47 kB / 0.6714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/1.229, allocations: 0.7383 MB / 0.6721 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/1.229, allocations: 4 kB / 0.6721 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.229, allocations: 0 / 0.6721 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.229, allocations: 3.984 kB / 0.6721 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/1.234, allocations: 1.281 MB / 0.6734 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.234, allocations: 0 / 0.6734 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000909/1.235, allocations: 103.9 kB / 0.6735 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/1.236, allocations: 104.9 kB / 0.6736 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/1.236, allocations: 19.98 kB / 0.6736 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003667/1.24, allocations: 1.817 MB / 0.6754 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.24, allocations: 7.938 kB / 0.6754 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/1.244, allocations: 0.976 MB / 0.6763 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/1.245, allocations: 168.5 kB / 0.6765 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.245, allocations: 12 kB / 0.6765 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009784/1.246, allocations: 43.95 kB / 0.6766 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/1.246, allocations: 67.86 kB / 0.6766 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.246, allocations: 35.98 kB / 0.6767 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007061/1.247, allocations: 271.1 kB / 0.6769 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.1e-07/1.247, allocations: 3.938 kB / 0.6769 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001673/1.249, allocations: 239.9 kB / 0.6771 GB, free: 8.285 MB / 0.5137 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.001652/1.25, allocations: 307.5 kB / 0.6774 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00317/1.254, allocations: 0.615 MB / 0.678 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.254, allocations: 0 / 0.678 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.255, allocations: 410.2 kB / 0.6784 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.258, allocations: 225.2 kB / 0.6786 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/1.262, allocations: 1.165 MB / 0.6798 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/1.263, allocations: 0.863 MB / 0.6806 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/1.263, allocations: 83.41 kB / 0.6807 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of SimCode: time 1.357e-05/1.263, allocations: 0 / 0.6807 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of Templates: time 0.03499/1.298, allocations: 11.86 MB / 0.6923 GB, free: 8.684 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches