Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001155/0.001155, allocations: 113.8 kB / 17.78 MB, free: 5.289 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.001167/0.001168, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2538/0.2538, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4817, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2036/0.6853, allocations: 160.5 MB / 0.6756 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005529/0.6909, allocations: 1.672 MB / 0.6773 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.692, allocations: 15.88 kB / 0.6773 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.6933, allocations: 210.6 kB / 0.6775 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.6971, allocations: 0.773 MB / 0.6782 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.7, allocations: 0.6701 MB / 0.6789 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.7025, allocations: 1.143 MB / 0.68 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008515/0.7033, allocations: 331.7 kB / 0.6803 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.7048, allocations: 482.2 kB / 0.6808 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.7058, allocations: 374.5 kB / 0.6811 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.7061, allocations: 44 kB / 0.6812 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.7082, allocations: 0.5695 MB / 0.6817 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.7086, allocations: 159.5 kB / 0.6819 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.7093, allocations: 274.7 kB / 0.6821 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.7119, allocations: 0.9583 MB / 0.6831 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7119, allocations: 4 kB / 0.6831 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.598e-06/0.7119, allocations: 0 / 0.6831 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.88e-05/0.712, allocations: 3.938 kB / 0.6831 GB, free: 3.328 MB / 0.5294 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.003083/0.7151, allocations: 0.8944 MB / 0.684 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.7151, allocations: 12.02 kB / 0.684 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006574/0.7158, allocations: 71.33 kB / 0.684 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.7168, allocations: 410.3 kB / 0.6844 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.717, allocations: 66.62 kB / 0.6845 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.7171, allocations: 39.94 kB / 0.6845 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7186, allocations: 0.5205 MB / 0.685 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.7187, allocations: 0 / 0.685 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.7187, allocations: 23.97 kB / 0.6851 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.7188, allocations: 16.66 kB / 0.6851 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.7198, allocations: 402.2 kB / 0.6855 GB, free: 0.7539 MB / 0.5294 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.003563/0.7234, allocations: 2.49 MB / 0.6879 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.7242, allocations: 351.3 kB / 0.6882 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.7246, allocations: 157.3 kB / 0.6884 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.7246, allocations: 8.281 kB / 0.6884 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006046/0.7253, allocations: 268.8 kB / 0.6886 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.7253, allocations: 0 / 0.6886 GB, free: 13.28 MB / 0.545 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.01256/0.7378, allocations: 3.244 MB / 0.6918 GB, free: 9.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.738, allocations: 162.2 kB / 0.692 GB, free: 9.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.7386, allocations: 385.5 kB / 0.6923 GB, free: 9.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.7387, allocations: 37.7 kB / 0.6924 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.739, allocations: 256 kB / 0.6926 GB, free: 9.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.7392, allocations: 161.7 kB / 0.6928 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.7394, allocations: 126.2 kB / 0.6929 GB, free: 8.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7396, allocations: 354.8 kB / 0.6932 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.7403, allocations: 213.2 kB / 0.6934 GB, free: 8.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.7412, allocations: 417.1 kB / 0.6938 GB, free: 7.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.7427, allocations: 0.6355 MB / 0.6944 GB, free: 6.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.7427, allocations: 0 / 0.6944 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002123/0.7448, allocations: 0.7903 MB / 0.6952 GB, free: 6.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.7449, allocations: 34.36 kB / 0.6952 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.7449, allocations: 7.984 kB / 0.6953 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.7454, allocations: 116.8 kB / 0.6954 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.746, allocations: 135.8 kB / 0.6955 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006678/0.7467, allocations: 0.6733 MB / 0.6962 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.7474, allocations: 52.02 kB / 0.6962 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.7475, allocations: 47.98 kB / 0.6963 GB, free: 5.078 MB / 0.545 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.000393/0.7479, allocations: 193.6 kB / 0.6964 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.7481, allocations: 47.44 kB / 0.6965 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.7501, allocations: 0.7483 MB / 0.6972 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.7501, allocations: 4 kB / 0.6972 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7502, allocations: 0 / 0.6972 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.7502, allocations: 11.91 kB / 0.6972 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.7533, allocations: 1.273 MB / 0.6985 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.7534, allocations: 4 kB / 0.6985 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.7539, allocations: 103.9 kB / 0.6986 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000643/0.7546, allocations: 116.8 kB / 0.6987 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.7546, allocations: 19.98 kB / 0.6987 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.7566, allocations: 1.805 MB / 0.7005 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.7567, allocations: 7.969 kB / 0.7005 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.7592, allocations: 0.9786 MB / 0.7014 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.7595, allocations: 156.5 kB / 0.7016 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.7597, allocations: 19.91 kB / 0.7016 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.7602, allocations: 43.94 kB / 0.7016 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.7604, allocations: 63.86 kB / 0.7017 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.7605, allocations: 35.98 kB / 0.7017 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003715/0.7609, allocations: 275.1 kB / 0.702 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7609, allocations: 0 / 0.702 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001115/0.762, allocations: 232 kB / 0.7022 GB, free: 14.67 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.001099/0.7631, allocations: 314.6 kB / 0.7025 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.7648, allocations: 0.5983 MB / 0.7031 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.7648, allocations: 5.062 kB / 0.7031 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.7657, allocations: 418.4 kB / 0.7035 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.7669, allocations: 201.7 kB / 0.7037 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.7693, allocations: 1.156 MB / 0.7048 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.7698, allocations: 0.8475 MB / 0.7057 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005883/0.7704, allocations: 156.6 kB / 0.7058 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.7706, allocations: 71.42 kB / 0.7059 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.7707, allocations: 0 / 0.7059 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.35/1.121, allocations: 13.35 MB / 0.7189 GB, free: 188.3 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches