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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 109.5 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4101/0.4101, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.84 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3392, allocations: 62 MB / 0.5151 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1745/0.5138, allocations: 158.6 MB / 0.67 GB, free: 10.49 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.5172, allocations: 1.758 MB / 0.6717 GB, free: 8.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005891/0.5178, allocations: 19.88 kB / 0.6717 GB, free: 8.711 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.5185, allocations: 175 kB / 0.6719 GB, free: 8.539 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.5206, allocations: 0.6976 MB / 0.6726 GB, free: 7.844 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.5222, allocations: 0.5818 MB / 0.6731 GB, free: 7.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.5239, allocations: 1.611 MB / 0.6747 GB, free: 5.656 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/0.5244, allocations: 297.1 kB / 0.675 GB, free: 5.363 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000909/0.5253, allocations: 422.4 kB / 0.6754 GB, free: 4.949 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.5259, allocations: 394.4 kB / 0.6758 GB, free: 4.562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.526, allocations: 24 kB / 0.6758 GB, free: 4.539 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5271, allocations: 0.4914 MB / 0.6763 GB, free: 4.047 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.5273, allocations: 135.6 kB / 0.6764 GB, free: 3.914 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.5277, allocations: 262.6 kB / 0.6767 GB, free: 3.656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.5296, allocations: 0.9388 MB / 0.6776 GB, free: 2.715 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5296, allocations: 0 / 0.6776 GB, free: 2.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5296, allocations: 0 / 0.6776 GB, free: 2.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.5296, allocations: 0 / 0.6776 GB, free: 2.715 MB / 490.7 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.002596/0.5322, allocations: 0.9023 MB / 0.6785 GB, free: 1.758 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5323, allocations: 12.03 kB / 0.6785 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/0.5329, allocations: 67.33 kB / 0.6785 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009153/0.5338, allocations: 402.3 kB / 0.6789 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.5339, allocations: 62.62 kB / 0.679 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.534, allocations: 36 kB / 0.679 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.5355, allocations: 0.5166 MB / 0.6795 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.5355, allocations: 7.922 kB / 0.6795 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.5356, allocations: 27.92 kB / 0.6796 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.5357, allocations: 16.66 kB / 0.6796 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.537, allocations: 398.2 kB / 0.6799 GB, free: 144 kB / 490.7 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.2592/0.7962, allocations: 2.463 MB / 0.6824 GB, free: 145.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.7971, allocations: 344.3 kB / 0.6827 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.7975, allocations: 157.4 kB / 0.6828 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.7975, allocations: 8.281 kB / 0.6828 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.7981, allocations: 270.3 kB / 0.6831 GB, free: 145.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/0.7981, allocations: 0 / 0.6831 GB, free: 145.1 MB / 490.7 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.01176/0.8099, allocations: 3.245 MB / 0.6863 GB, free: 143.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.8099, allocations: 160.1 kB / 0.6864 GB, free: 143.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.8103, allocations: 385.9 kB / 0.6868 GB, free: 143.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.8103, allocations: 40.05 kB / 0.6868 GB, free: 143.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.8105, allocations: 257.5 kB / 0.6871 GB, free: 143.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.8106, allocations: 159.5 kB / 0.6872 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.8107, allocations: 123.1 kB / 0.6873 GB, free: 143.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.8108, allocations: 362.8 kB / 0.6877 GB, free: 142.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.8114, allocations: 216.8 kB / 0.6879 GB, free: 142.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.812, allocations: 415 kB / 0.6883 GB, free: 142.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.8132, allocations: 0.6338 MB / 0.6889 GB, free: 142 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8132, allocations: 0 / 0.6889 GB, free: 142 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001679/0.8149, allocations: 0.7865 MB / 0.6897 GB, free: 141.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.8149, allocations: 44.81 kB / 0.6897 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.8149, allocations: 8.938 kB / 0.6897 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.8153, allocations: 111.1 kB / 0.6898 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.8159, allocations: 143.2 kB / 0.69 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004522/0.8163, allocations: 0.67 MB / 0.6906 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.8168, allocations: 57.84 kB / 0.6907 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.8169, allocations: 46.78 kB / 0.6907 GB, free: 141 MB / 490.7 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.0002165/0.8171, allocations: 203.9 kB / 0.6909 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.8172, allocations: 45.53 kB / 0.691 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.8191, allocations: 0.7321 MB / 0.6917 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.8191, allocations: 2.938 kB / 0.6917 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8191, allocations: 0 / 0.6917 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.8191, allocations: 0 / 0.6917 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.8216, allocations: 1.3 MB / 0.6929 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.8216, allocations: 2.781 kB / 0.693 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.8221, allocations: 103.3 kB / 0.693 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/0.8226, allocations: 109.9 kB / 0.6932 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.8227, allocations: 12.59 kB / 0.6932 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.8241, allocations: 1.697 MB / 0.6948 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8242, allocations: 240 / 0.6948 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03562/0.8598, allocations: 8.636 MB / 0.7033 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.8601, allocations: 162.2 kB / 0.7034 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.8602, allocations: 14.14 kB / 0.7034 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.8607, allocations: 56.31 kB / 0.7035 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.8609, allocations: 59.88 kB / 0.7035 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.861, allocations: 34.38 kB / 0.7036 GB, free: 133.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003775/0.8613, allocations: 273.3 kB / 0.7038 GB, free: 133.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8614, allocations: 3.938 kB / 0.7038 GB, free: 133.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001541/0.8629, allocations: 472.9 kB / 0.7043 GB, free: 133.4 MB / 490.7 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.001675/0.8646, allocations: 355.5 kB / 0.7046 GB, free: 133.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.8663, allocations: 0.6005 MB / 0.7052 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8663, allocations: 1.375 kB / 0.7052 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.8672, allocations: 417 kB / 0.7056 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.8685, allocations: 207.2 kB / 0.7058 GB, free: 132.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.871, allocations: 1.796 MB / 0.7076 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.8714, allocations: 0.8718 MB / 0.7084 GB, free: 130.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009702/0.8724, allocations: 201.9 kB / 0.7086 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.8728, allocations: 107.3 kB / 0.7087 GB, free: 130.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.8728, allocations: 0 / 0.7087 GB, free: 130.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03903/0.9119, allocations: 26.03 MB / 0.7341 GB, free: 113 MB / 490.7 MB 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches