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.001114/0.001114, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 79.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.5004, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.244/0.7445, allocations: 163.4 MB / 0.6906 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005146/0.7497, allocations: 1.661 MB / 0.6922 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009068/0.7506, allocations: 15.88 kB / 0.6922 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.7519, allocations: 210.6 kB / 0.6924 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.7554, allocations: 0.7965 MB / 0.6932 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.7579, allocations: 0.6701 MB / 0.6938 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.7601, allocations: 1.158 MB / 0.695 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.761, allocations: 333.9 kB / 0.6953 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.7625, allocations: 486.2 kB / 0.6957 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.7636, allocations: 378.5 kB / 0.6961 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.7639, allocations: 44 kB / 0.6961 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.7658, allocations: 0.5758 MB / 0.6967 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.7662, allocations: 159.5 kB / 0.6969 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000722/0.7669, allocations: 262.8 kB / 0.6971 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.7695, allocations: 0.9699 MB / 0.6981 GB, free: 5.988 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7695, allocations: 0 / 0.6981 GB, free: 5.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7695, allocations: 4 kB / 0.6981 GB, free: 5.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.725e-05/0.7695, allocations: 0 / 0.6981 GB, free: 5.984 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.002567/0.7721, allocations: 0.9023 MB / 0.6989 GB, free: 5.027 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.7722, allocations: 9.109 kB / 0.699 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.7727, allocations: 75.31 kB / 0.699 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.7735, allocations: 418.2 kB / 0.6994 GB, free: 4.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.7737, allocations: 70.56 kB / 0.6995 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/0.7738, allocations: 36 kB / 0.6995 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.7748, allocations: 0.5166 MB / 0.7 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.7749, allocations: 4 kB / 0.7 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.7749, allocations: 16 kB / 0.7001 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.775, allocations: 16.59 kB / 0.7001 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009742/0.776, allocations: 406.2 kB / 0.7005 GB, free: 3.398 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.003902/0.7799, allocations: 2.458 MB / 0.7029 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.7808, allocations: 351.4 kB / 0.7032 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.7812, allocations: 153.3 kB / 0.7033 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.7812, allocations: 12.22 kB / 0.7033 GB, free: 256 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006326/0.7819, allocations: 276.7 kB / 0.7036 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.555e-06/0.7819, allocations: 0 / 0.7036 GB, free: 15.96 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.01202/0.7939, allocations: 3.236 MB / 0.7068 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.794, allocations: 162.2 kB / 0.7069 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.7946, allocations: 385.5 kB / 0.7073 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.7946, allocations: 41.64 kB / 0.7073 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.7949, allocations: 256 kB / 0.7076 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.7951, allocations: 157.8 kB / 0.7077 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.7953, allocations: 134.2 kB / 0.7079 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7955, allocations: 346.8 kB / 0.7082 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.7961, allocations: 217.1 kB / 0.7084 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.797, allocations: 413.1 kB / 0.7088 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.7984, allocations: 0.6355 MB / 0.7094 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.7984, allocations: 4 kB / 0.7094 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002025/0.8004, allocations: 0.7869 MB / 0.7102 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.8005, allocations: 36.05 kB / 0.7102 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.8005, allocations: 8.031 kB / 0.7102 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.801, allocations: 116.8 kB / 0.7103 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.8015, allocations: 135.8 kB / 0.7105 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006309/0.8022, allocations: 0.6772 MB / 0.7111 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.8028, allocations: 55.89 kB / 0.7112 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.8029, allocations: 43.98 kB / 0.7112 GB, free: 7.754 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.0003631/0.8032, allocations: 203.8 kB / 0.7114 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.8034, allocations: 51.42 kB / 0.7115 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.8054, allocations: 0.7406 MB / 0.7122 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8054, allocations: 4 kB / 0.7122 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8054, allocations: 0 / 0.7122 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.8055, allocations: 7.922 kB / 0.7122 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.8082, allocations: 1.277 MB / 0.7134 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.8082, allocations: 4 kB / 0.7134 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.8087, allocations: 107.8 kB / 0.7136 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/0.8092, allocations: 104.9 kB / 0.7137 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.8093, allocations: 19.98 kB / 0.7137 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.8114, allocations: 1.822 MB / 0.7155 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.8115, allocations: 4.031 kB / 0.7155 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.8139, allocations: 0.9787 MB / 0.7164 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.8142, allocations: 160.5 kB / 0.7166 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.8143, allocations: 16 kB / 0.7166 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.8149, allocations: 43.95 kB / 0.7166 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.815, allocations: 56.02 kB / 0.7167 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.8151, allocations: 35.97 kB / 0.7167 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003633/0.8155, allocations: 279.1 kB / 0.717 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8155, allocations: 4 kB / 0.717 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001024/0.8165, allocations: 235.9 kB / 0.7172 GB, free: 1.332 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.0009919/0.8175, allocations: 292.6 kB / 0.7175 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.8192, allocations: 0.6108 MB / 0.7181 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8192, allocations: 0 / 0.7181 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.8204, allocations: 418.4 kB / 0.7185 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3276/1.148, allocations: 202.3 kB / 0.7187 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/1.15, allocations: 1.148 MB / 0.7198 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.151, allocations: 0.8549 MB / 0.7206 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006087/1.152, allocations: 156.8 kB / 0.7208 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/1.152, allocations: 72.98 kB / 0.7208 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.152, allocations: 0 / 0.7208 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.02321/1.175, allocations: 13.39 MB / 0.7339 GB, free: 176.4 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