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.001124/0.001124, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001117/0.001117, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2053/0.2053, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4105, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1729/0.5834, allocations: 160.5 MB / 0.6756 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003753/0.5872, allocations: 1.672 MB / 0.6773 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.5877, allocations: 11.94 kB / 0.6773 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007674/0.5885, allocations: 214.6 kB / 0.6775 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.5911, allocations: 0.7736 MB / 0.6782 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.5929, allocations: 0.6701 MB / 0.6789 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.5945, allocations: 1.146 MB / 0.68 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005016/0.595, allocations: 321.9 kB / 0.6803 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007061/0.5957, allocations: 474.2 kB / 0.6808 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.5962, allocations: 382.5 kB / 0.6811 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.258e-05/0.5963, allocations: 44 kB / 0.6812 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.5974, allocations: 0.5693 MB / 0.6817 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.5976, allocations: 159.5 kB / 0.6819 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.5979, allocations: 270.8 kB / 0.6821 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.5992, allocations: 0.9655 MB / 0.6831 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5992, allocations: 0 / 0.6831 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5992, allocations: 0 / 0.6831 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5992, allocations: 4 kB / 0.6831 GB, free: 3.355 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.001663/0.6009, allocations: 0.9169 MB / 0.684 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.601, allocations: 12.03 kB / 0.684 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.6014, allocations: 71.66 kB / 0.6841 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.602, allocations: 414.6 kB / 0.6845 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.799e-05/0.6021, allocations: 66.62 kB / 0.6845 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.6021, allocations: 39.98 kB / 0.6846 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.6031, allocations: 0.5166 MB / 0.6851 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6031, allocations: 7.922 kB / 0.6851 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.6031, allocations: 16 kB / 0.6851 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.6032, allocations: 16.66 kB / 0.6851 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008465/0.604, allocations: 402.2 kB / 0.6855 GB, free: 0.7578 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.002999/0.607, allocations: 2.503 MB / 0.6879 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.6078, allocations: 343.4 kB / 0.6883 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.6082, allocations: 157.3 kB / 0.6884 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.6082, allocations: 8.266 kB / 0.6884 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/0.6087, allocations: 276.8 kB / 0.6887 GB, free: 13.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.6087, allocations: 0 / 0.6887 GB, free: 13.27 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.01138/0.6201, allocations: 3.249 MB / 0.6918 GB, free: 9.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/0.6202, allocations: 162.2 kB / 0.692 GB, free: 9.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.6207, allocations: 389.5 kB / 0.6924 GB, free: 9.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.6208, allocations: 33.7 kB / 0.6924 GB, free: 9.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.621, allocations: 260.5 kB / 0.6927 GB, free: 9.008 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.6211, allocations: 170.6 kB / 0.6928 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.6213, allocations: 126.3 kB / 0.6929 GB, free: 8.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6215, allocations: 358.8 kB / 0.6933 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.6221, allocations: 213.2 kB / 0.6935 GB, free: 8.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.6228, allocations: 413.1 kB / 0.6939 GB, free: 7.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.6241, allocations: 0.6317 MB / 0.6945 GB, free: 6.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6241, allocations: 0 / 0.6945 GB, free: 6.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001764/0.6258, allocations: 0.7905 MB / 0.6953 GB, free: 6.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.6259, allocations: 33.7 kB / 0.6953 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6259, allocations: 4.656 kB / 0.6953 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.6263, allocations: 124.7 kB / 0.6954 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.6269, allocations: 139.8 kB / 0.6956 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005888/0.6275, allocations: 0.6694 MB / 0.6962 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.628, allocations: 52.02 kB / 0.6963 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.628, allocations: 47.98 kB / 0.6963 GB, free: 5.051 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.0002636/0.6283, allocations: 193.6 kB / 0.6965 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.6284, allocations: 47.72 kB / 0.6965 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.6303, allocations: 0.7446 MB / 0.6973 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.6303, allocations: 4 kB / 0.6973 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6303, allocations: 4 kB / 0.6973 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6303, allocations: 7.922 kB / 0.6973 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.6328, allocations: 1.277 MB / 0.6985 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6328, allocations: 4 kB / 0.6985 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.6333, allocations: 107.8 kB / 0.6986 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.6338, allocations: 112.8 kB / 0.6987 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.6339, allocations: 15.98 kB / 0.6988 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.6358, allocations: 1.809 MB / 0.7005 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6358, allocations: 4.031 kB / 0.7005 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.638, allocations: 0.9866 MB / 0.7015 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.6382, allocations: 164.8 kB / 0.7016 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.6383, allocations: 8 kB / 0.7017 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.6388, allocations: 47.94 kB / 0.7017 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.639, allocations: 59.92 kB / 0.7018 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.639, allocations: 35.98 kB / 0.7018 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002992/0.6393, allocations: 279 kB / 0.7021 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6394, allocations: 0 / 0.7021 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007842/0.6401, allocations: 231.7 kB / 0.7023 GB, free: 14.64 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.0008466/0.641, allocations: 305.8 kB / 0.7026 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.6425, allocations: 0.6027 MB / 0.7032 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6426, allocations: 4 kB / 0.7032 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/0.6434, allocations: 422.9 kB / 0.7036 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6444, allocations: 214.4 kB / 0.7038 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.6464, allocations: 1.167 MB / 0.7049 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.6468, allocations: 0.8553 MB / 0.7057 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005156/0.6474, allocations: 148.6 kB / 0.7059 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.6476, allocations: 71.42 kB / 0.706 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6476, allocations: 0 / 0.706 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.2487/0.8963, allocations: 13.35 MB / 0.719 GB, free: 188.1 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