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.0009058/0.0009058, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009145/0.0009146, allocations: 173.5 kB / 16.57 MB, free: 6.391 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.349/1.349, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3128/0.3128, allocations: 43.55 MB / 314.5 MB, free: 8.969 MB / 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.0004633/0.0004633, allocations: 12 kB / 383.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 58.85 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2976/0.4039, allocations: 133.1 MB / 0.5624 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006347/0.4103, allocations: 4.973 MB / 0.5672 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.4109, allocations: 15.88 kB / 0.5672 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.4114, allocations: 171.1 kB / 0.5674 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.4133, allocations: 0.6618 MB / 0.568 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4146, allocations: 0.5324 MB / 0.5686 GB, free: 360 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008349/0.4155, allocations: 0.6607 MB / 0.5692 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.4159, allocations: 264 kB / 0.5695 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.4166, allocations: 378.8 kB / 0.5698 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.4169, allocations: 259 kB / 0.5701 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.417, allocations: 24 kB / 0.5701 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.4179, allocations: 423.3 kB / 0.5705 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.4181, allocations: 123.6 kB / 0.5706 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4182, allocations: 117.5 kB / 0.5707 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.4191, allocations: 0.6404 MB / 0.5713 GB, free: 13.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4191, allocations: 4 kB / 0.5713 GB, free: 13.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4191, allocations: 4 kB / 0.5713 GB, free: 13.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4192, allocations: 0 / 0.5713 GB, free: 13.49 MB / 446.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.00167/0.4208, allocations: 0.8141 MB / 0.5721 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4209, allocations: 12.02 kB / 0.5722 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/0.4213, allocations: 71.42 kB / 0.5722 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.422, allocations: 378.6 kB / 0.5726 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.4222, allocations: 60.42 kB / 0.5726 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.4223, allocations: 39.91 kB / 0.5727 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009769/0.4233, allocations: 0.534 MB / 0.5732 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4233, allocations: 0 / 0.5732 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.4234, allocations: 24.5 kB / 0.5732 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.4234, allocations: 12.66 kB / 0.5732 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008512/0.4243, allocations: 434.2 kB / 0.5737 GB, free: 10.99 MB / 446.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.00326/0.4275, allocations: 2.507 MB / 0.5761 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/0.4284, allocations: 367.4 kB / 0.5764 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.4284, allocations: 8.281 kB / 0.5765 GB, free: 7.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005381/0.4289, allocations: 276.8 kB / 0.5767 GB, free: 7.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.429, allocations: 0 / 0.5767 GB, free: 7.633 MB / 446.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.01171/0.4407, allocations: 3.591 MB / 0.5802 GB, free: 3.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4408, allocations: 166.2 kB / 0.5804 GB, free: 3.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.4412, allocations: 377.5 kB / 0.5807 GB, free: 3.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.4413, allocations: 37.7 kB / 0.5808 GB, free: 3.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4414, allocations: 260 kB / 0.581 GB, free: 3.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4416, allocations: 161.6 kB / 0.5812 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.4416, allocations: 16 kB / 0.5812 GB, free: 2.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4417, allocations: 358.8 kB / 0.5815 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.4423, allocations: 241.1 kB / 0.5818 GB, free: 2.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.443, allocations: 429.1 kB / 0.5822 GB, free: 1.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.4437, allocations: 318.3 kB / 0.5825 GB, free: 1.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4437, allocations: 4 kB / 0.5825 GB, free: 1.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001731/0.4455, allocations: 0.8177 MB / 0.5833 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.4455, allocations: 44.62 kB / 0.5833 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4456, allocations: 4 kB / 0.5833 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.446, allocations: 123.1 kB / 0.5835 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.4466, allocations: 147.8 kB / 0.5836 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005945/0.4472, allocations: 0.6687 MB / 0.5842 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.4477, allocations: 63.94 kB / 0.5843 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.4477, allocations: 48.06 kB / 0.5844 GB, free: 15.5 MB / 462.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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.448, allocations: 205.7 kB / 0.5845 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.4481, allocations: 47.44 kB / 0.5846 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.4501, allocations: 0.7883 MB / 0.5854 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4501, allocations: 4 kB / 0.5854 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4501, allocations: 0 / 0.5854 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4501, allocations: 0 / 0.5854 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.4525, allocations: 1.322 MB / 0.5867 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4525, allocations: 4.031 kB / 0.5867 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.453, allocations: 115.9 kB / 0.5868 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/0.4536, allocations: 112.7 kB / 0.5869 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.4536, allocations: 19.98 kB / 0.5869 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.4553, allocations: 1.71 MB / 0.5886 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4553, allocations: 7.969 kB / 0.5886 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.4576, allocations: 1.099 MB / 0.5896 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.4578, allocations: 156.5 kB / 0.5898 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.4579, allocations: 12 kB / 0.5898 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.4584, allocations: 63.86 kB / 0.5899 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4586, allocations: 71.61 kB / 0.5899 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.4586, allocations: 35.92 kB / 0.59 GB, free: 9.426 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.4589, allocations: 267.1 kB / 0.5902 GB, free: 9.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4589, allocations: 7.875 kB / 0.5902 GB, free: 9.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007564/0.4597, allocations: 239.9 kB / 0.5905 GB, free: 8.926 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006766/0.4604, allocations: 310.5 kB / 0.5908 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.4618, allocations: 0.6485 MB / 0.5914 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4618, allocations: 4 kB / 0.5914 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.4627, allocations: 439.3 kB / 0.5918 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.4635, allocations: 177.8 kB / 0.592 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.4654, allocations: 1.394 MB / 0.5933 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.4658, allocations: 0.867 MB / 0.5942 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006085/0.4664, allocations: 152.3 kB / 0.5943 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.4666, allocations: 71.42 kB / 0.5944 GB, free: 4.805 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4666, allocations: 3.938 kB / 0.5944 GB, free: 4.801 MB / 462.1 MB Notification: Performance of Templates: time 0.01924/0.4859, allocations: 12.53 MB / 0.6066 GB, free: 8.32 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches