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.001224/0.001224, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3104, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1663/0.4767, allocations: 163.4 MB / 0.6912 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.48, allocations: 1.665 MB / 0.6929 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/0.4806, allocations: 11.94 kB / 0.6929 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007111/0.4813, allocations: 214.6 kB / 0.6931 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.4837, allocations: 0.7764 MB / 0.6938 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.4855, allocations: 0.6727 MB / 0.6945 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.487, allocations: 1.162 MB / 0.6956 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006023/0.4876, allocations: 314 kB / 0.6959 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009827/0.4886, allocations: 490.1 kB / 0.6964 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.4893, allocations: 382.5 kB / 0.6968 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.4895, allocations: 44 kB / 0.6968 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.4907, allocations: 0.5706 MB / 0.6974 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.491, allocations: 155.5 kB / 0.6975 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.4914, allocations: 274.7 kB / 0.6978 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.4929, allocations: 0.9583 MB / 0.6987 GB, free: 6.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.493, allocations: 11.94 kB / 0.6987 GB, free: 6.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.687e-06/0.493, allocations: 0 / 0.6987 GB, free: 6.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.339e-05/0.493, allocations: 3.938 kB / 0.6987 GB, free: 6.012 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.001939/0.4949, allocations: 0.8984 MB / 0.6996 GB, free: 5.059 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.495, allocations: 9.109 kB / 0.6996 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.4954, allocations: 71.33 kB / 0.6997 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.4961, allocations: 422.3 kB / 0.7001 GB, free: 4.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.4962, allocations: 58.64 kB / 0.7001 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.4963, allocations: 40 kB / 0.7002 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4973, allocations: 0.5283 MB / 0.7007 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.4974, allocations: 0 / 0.7007 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.4974, allocations: 19.98 kB / 0.7007 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.4975, allocations: 16.66 kB / 0.7007 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.4984, allocations: 398.2 kB / 0.7011 GB, free: 3.434 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.003219/0.5016, allocations: 2.465 MB / 0.7035 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.5025, allocations: 343.4 kB / 0.7038 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.5029, allocations: 157.3 kB / 0.704 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.5029, allocations: 4.281 kB / 0.704 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.5035, allocations: 272.7 kB / 0.7042 GB, free: 0 / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.5035, allocations: 0 / 0.7042 GB, free: 0 / 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.01239/0.5159, allocations: 3.251 MB / 0.7074 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.516, allocations: 162.2 kB / 0.7076 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.5164, allocations: 385.5 kB / 0.7079 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.5164, allocations: 37.7 kB / 0.708 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.5166, allocations: 260 kB / 0.7082 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.5168, allocations: 157.7 kB / 0.7084 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.517, allocations: 122.2 kB / 0.7085 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5171, allocations: 358.8 kB / 0.7088 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.5177, allocations: 221.1 kB / 0.709 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.5185, allocations: 409.1 kB / 0.7094 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.5198, allocations: 0.6316 MB / 0.7101 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5198, allocations: 4 kB / 0.7101 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001914/0.5217, allocations: 0.7903 MB / 0.7108 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5218, allocations: 37.64 kB / 0.7109 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5218, allocations: 8 kB / 0.7109 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004334/0.5222, allocations: 113.4 kB / 0.711 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.5228, allocations: 135.8 kB / 0.7111 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005637/0.5234, allocations: 0.685 MB / 0.7118 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.5239, allocations: 43.95 kB / 0.7118 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.524, allocations: 59.98 kB / 0.7119 GB, free: 7.773 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.0002583/0.5243, allocations: 197.6 kB / 0.7121 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.5243, allocations: 47.48 kB / 0.7121 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.5264, allocations: 0.7329 MB / 0.7128 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5264, allocations: 7.984 kB / 0.7128 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5264, allocations: 0 / 0.7128 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.5264, allocations: 3.938 kB / 0.7128 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.5289, allocations: 1.281 MB / 0.7141 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5289, allocations: 4.031 kB / 0.7141 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.5294, allocations: 103.9 kB / 0.7142 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.5299, allocations: 104.7 kB / 0.7143 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.53, allocations: 20 kB / 0.7143 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.5318, allocations: 1.822 MB / 0.7161 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5318, allocations: 3.938 kB / 0.7161 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.5341, allocations: 0.9749 MB / 0.717 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.5344, allocations: 164.5 kB / 0.7172 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.5345, allocations: 12 kB / 0.7172 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.535, allocations: 51.94 kB / 0.7173 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.5351, allocations: 51.94 kB / 0.7173 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.5352, allocations: 39.92 kB / 0.7174 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003164/0.5355, allocations: 275.1 kB / 0.7176 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5355, allocations: 0 / 0.7176 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007711/0.5363, allocations: 235.9 kB / 0.7178 GB, free: 1.371 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.0007856/0.5371, allocations: 315.8 kB / 0.7181 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.5387, allocations: 0.6069 MB / 0.7187 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5387, allocations: 0 / 0.7187 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/0.5396, allocations: 406.6 kB / 0.7191 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2293/0.7688, allocations: 204.5 kB / 0.7193 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.7721, allocations: 1.171 MB / 0.7205 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.7727, allocations: 0.8561 MB / 0.7213 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.7732, allocations: 82.88 kB / 0.7214 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.7732, allocations: 0 / 0.7214 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02051/0.7937, allocations: 11.72 MB / 0.7328 GB, free: 177.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches