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.001655/0.001655, allocations: 109.5 kB / 16.41 MB, free: 6.426 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.002192/0.002193, allocations: 185.5 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2304/0.2304, allocations: 43.52 MB / 314.1 MB, free: 456 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.001561/0.001561, allocations: 63.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1147, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4477/0.5625, allocations: 163.4 MB / 0.6474 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.5683, allocations: 4.106 MB / 0.6514 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.5687, allocations: 15.88 kB / 0.6514 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.5694, allocations: 202.7 kB / 0.6516 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.5715, allocations: 0.8523 MB / 0.6525 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.5732, allocations: 0.6765 MB / 0.6531 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.5743, allocations: 1.146 MB / 0.6542 GB, free: 196 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.5748, allocations: 325 kB / 0.6545 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.5755, allocations: 478.2 kB / 0.655 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.5759, allocations: 378.5 kB / 0.6554 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.576, allocations: 44 kB / 0.6554 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.5771, allocations: 0.6007 MB / 0.656 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.5773, allocations: 155.5 kB / 0.6561 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.5776, allocations: 266.8 kB / 0.6564 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.5787, allocations: 0.9777 MB / 0.6573 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5787, allocations: 0 / 0.6573 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5787, allocations: 0 / 0.6573 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.5788, allocations: 0 / 0.6573 GB, free: 12.99 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.001595/0.5804, allocations: 0.9056 MB / 0.6582 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.5804, allocations: 15.89 kB / 0.6582 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.5808, allocations: 67.33 kB / 0.6583 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.5813, allocations: 418.3 kB / 0.6587 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.5814, allocations: 58.7 kB / 0.6588 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.5815, allocations: 40 kB / 0.6588 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.5824, allocations: 0.5205 MB / 0.6593 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5824, allocations: 11.84 kB / 0.6593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.5825, allocations: 16 kB / 0.6593 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.5825, allocations: 12.66 kB / 0.6593 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/0.5834, allocations: 402.2 kB / 0.6597 GB, free: 10.41 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.002928/0.5863, allocations: 2.494 MB / 0.6622 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.5871, allocations: 347.2 kB / 0.6625 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.5875, allocations: 157.3 kB / 0.6627 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.5875, allocations: 4.281 kB / 0.6627 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/0.5881, allocations: 276 kB / 0.6629 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.432e-06/0.5881, allocations: 0 / 0.6629 GB, free: 6.941 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.01171/0.5998, allocations: 3.245 MB / 0.6661 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5999, allocations: 166.2 kB / 0.6662 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.6004, allocations: 389.4 kB / 0.6666 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.6005, allocations: 33.7 kB / 0.6666 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.6006, allocations: 260 kB / 0.6669 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.6008, allocations: 161.7 kB / 0.6671 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.601, allocations: 122.2 kB / 0.6672 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6011, allocations: 358.8 kB / 0.6675 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.6017, allocations: 222.3 kB / 0.6677 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.6025, allocations: 405.1 kB / 0.6681 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.6038, allocations: 0.6355 MB / 0.6687 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6038, allocations: 4 kB / 0.6687 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001843/0.6056, allocations: 0.7864 MB / 0.6695 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.6057, allocations: 33.7 kB / 0.6695 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6057, allocations: 8 kB / 0.6695 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/0.6061, allocations: 113.4 kB / 0.6696 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.6067, allocations: 139.8 kB / 0.6698 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005495/0.6072, allocations: 0.6732 MB / 0.6704 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.6077, allocations: 47.95 kB / 0.6705 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.6078, allocations: 52.73 kB / 0.6705 GB, free: 14.74 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.0002571/0.608, allocations: 197.6 kB / 0.6707 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.6081, allocations: 47.44 kB / 0.6708 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.61, allocations: 0.7392 MB / 0.6715 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.61, allocations: 4 kB / 0.6715 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.61, allocations: 0 / 0.6715 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.61, allocations: 3.984 kB / 0.6715 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.6124, allocations: 1.277 MB / 0.6727 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.6124, allocations: 8.156 kB / 0.6728 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.6129, allocations: 107.8 kB / 0.6729 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005855/0.6135, allocations: 100.8 kB / 0.673 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.6136, allocations: 23.92 kB / 0.673 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.6153, allocations: 1.817 MB / 0.6747 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6153, allocations: 3.938 kB / 0.6748 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.6175, allocations: 0.9838 MB / 0.6757 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.6177, allocations: 164.5 kB / 0.6759 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.6178, allocations: 11.98 kB / 0.6759 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.6183, allocations: 47.95 kB / 0.6759 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.6184, allocations: 59.92 kB / 0.676 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.6185, allocations: 35.98 kB / 0.676 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003044/0.6188, allocations: 271.1 kB / 0.6763 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6188, allocations: 3.938 kB / 0.6763 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008606/0.6197, allocations: 239.9 kB / 0.6765 GB, free: 8.324 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.0007655/0.6205, allocations: 313 kB / 0.6768 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.6219, allocations: 0.6071 MB / 0.6774 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.622, allocations: 4 kB / 0.6774 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008257/0.6228, allocations: 410.2 kB / 0.6778 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.6238, allocations: 232.5 kB / 0.678 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.6257, allocations: 1.132 MB / 0.6791 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.6262, allocations: 0.863 MB / 0.68 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004689/0.6266, allocations: 160.5 kB / 0.6801 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.6268, allocations: 75.42 kB / 0.6802 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.6268, allocations: 0 / 0.6802 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of Templates: time 0.01951/0.6464, allocations: 13.66 MB / 0.6935 GB, free: 6.82 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/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) Reference file matches