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.00132/0.00132, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 84.14 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 62.44 MB / 0.5311 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1785/0.5022, allocations: 163.4 MB / 0.6906 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.506, allocations: 1.661 MB / 0.6923 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.5066, allocations: 19.81 kB / 0.6923 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007584/0.5074, allocations: 210.6 kB / 0.6925 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.5096, allocations: 0.7734 MB / 0.6932 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.5114, allocations: 0.6801 MB / 0.6939 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.5127, allocations: 1.158 MB / 0.695 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.5132, allocations: 315.1 kB / 0.6953 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.514, allocations: 482.2 kB / 0.6958 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.5145, allocations: 370.5 kB / 0.6961 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.5146, allocations: 44 kB / 0.6962 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.5158, allocations: 0.5874 MB / 0.6968 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.516, allocations: 151.5 kB / 0.6969 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.5163, allocations: 266.8 kB / 0.6972 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.5177, allocations: 0.9768 MB / 0.6981 GB, free: 5.973 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5177, allocations: 0 / 0.6981 GB, free: 5.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5178, allocations: 0 / 0.6981 GB, free: 5.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.5178, allocations: 0 / 0.6981 GB, free: 5.973 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.00179/0.5196, allocations: 0.917 MB / 0.699 GB, free: 5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5196, allocations: 13.11 kB / 0.699 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.52, allocations: 79.61 kB / 0.6991 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.5206, allocations: 418.6 kB / 0.6995 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/0.5207, allocations: 62.64 kB / 0.6996 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.5208, allocations: 39.95 kB / 0.6996 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.5218, allocations: 0.5166 MB / 0.7001 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5218, allocations: 0 / 0.7001 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.5219, allocations: 23.98 kB / 0.7001 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.5219, allocations: 20.58 kB / 0.7001 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000893/0.5228, allocations: 406.2 kB / 0.7005 GB, free: 3.359 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.003102/0.5259, allocations: 2.458 MB / 0.7029 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.5268, allocations: 349.3 kB / 0.7033 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.5272, allocations: 169.3 kB / 0.7034 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.5272, allocations: 8.266 kB / 0.7034 GB, free: 208 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005815/0.5278, allocations: 268.7 kB / 0.7037 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.5278, allocations: 0 / 0.7037 GB, free: 15.92 MB / 0.5606 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.01221/0.54, allocations: 3.256 MB / 0.7069 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/0.5402, allocations: 162.2 kB / 0.707 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.5406, allocations: 389.5 kB / 0.7074 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.5407, allocations: 33.7 kB / 0.7074 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.5409, allocations: 260.5 kB / 0.7077 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.541, allocations: 170.6 kB / 0.7078 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.5412, allocations: 122.3 kB / 0.708 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.5414, allocations: 362.8 kB / 0.7083 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.5421, allocations: 217.1 kB / 0.7085 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007476/0.5428, allocations: 401.1 kB / 0.7089 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.5443, allocations: 0.6394 MB / 0.7095 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5443, allocations: 0 / 0.7095 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001994/0.5463, allocations: 0.7944 MB / 0.7103 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.5463, allocations: 41.69 kB / 0.7103 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5463, allocations: 4 kB / 0.7103 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.5468, allocations: 117.4 kB / 0.7104 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.5474, allocations: 139.7 kB / 0.7106 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/0.5481, allocations: 0.6695 MB / 0.7112 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.5487, allocations: 52.02 kB / 0.7113 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.5488, allocations: 47.98 kB / 0.7113 GB, free: 7.684 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.0003536/0.5491, allocations: 207.8 kB / 0.7115 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.5492, allocations: 51.67 kB / 0.7116 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.5513, allocations: 0.7368 MB / 0.7123 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.5514, allocations: 8 kB / 0.7123 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5514, allocations: 0 / 0.7123 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5514, allocations: 7.922 kB / 0.7123 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.5541, allocations: 1.269 MB / 0.7135 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5541, allocations: 0 / 0.7135 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.5546, allocations: 107.9 kB / 0.7137 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/0.5552, allocations: 108.8 kB / 0.7138 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.5553, allocations: 23.98 kB / 0.7138 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.5573, allocations: 1.822 MB / 0.7156 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5573, allocations: 0 / 0.7156 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.5598, allocations: 0.9791 MB / 0.7165 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.5601, allocations: 156.8 kB / 0.7167 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.5602, allocations: 19.98 kB / 0.7167 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.5606, allocations: 39.95 kB / 0.7167 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5608, allocations: 59.92 kB / 0.7168 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.5609, allocations: 35.98 kB / 0.7168 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000302/0.5612, allocations: 279.1 kB / 0.7171 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5612, allocations: 3.938 kB / 0.7171 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007912/0.562, allocations: 235.7 kB / 0.7173 GB, free: 1.266 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.0007424/0.5628, allocations: 308.5 kB / 0.7176 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.5643, allocations: 0.6064 MB / 0.7182 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.5643, allocations: 4 kB / 0.7182 GB, free: 348 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2324/0.7967, allocations: 414.1 kB / 0.7186 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.7981, allocations: 202.5 kB / 0.7188 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.8003, allocations: 1.156 MB / 0.7199 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.8008, allocations: 0.8564 MB / 0.7207 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006471/0.8015, allocations: 159.8 kB / 0.7209 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.8018, allocations: 73.3 kB / 0.721 GB, free: 183 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.8018, allocations: 0 / 0.721 GB, free: 183 MB / 0.5606 GB Notification: Performance of Templates: time 0.02155/0.8233, allocations: 13.39 MB / 0.734 GB, free: 176.1 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