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.000777/0.0007769, allocations: 101.9 kB / 16.02 MB, free: 76 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.0008603/0.0008602, allocations: 184.6 kB / 16.92 MB, free: 6.914 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.693/1.693, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.4915/0.4915, allocations: 43.58 MB / 315 MB, free: 8.828 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.0007118/0.0007119, allocations: 12 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.164, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5355/0.6996, allocations: 159.3 MB / 0.5886 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007505/0.7071, allocations: 4.203 MB / 0.5927 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.7081, allocations: 15.88 kB / 0.5928 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.7089, allocations: 182.9 kB / 0.5929 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.7115, allocations: 0.7304 MB / 0.5936 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.7134, allocations: 0.59 MB / 0.5942 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.7155, allocations: 1.598 MB / 0.5958 GB, free: 4.547 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.716, allocations: 279.9 kB / 0.5961 GB, free: 4.273 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008987/0.7169, allocations: 414.3 kB / 0.5964 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.7175, allocations: 386.5 kB / 0.5968 GB, free: 3.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.123e-05/0.7175, allocations: 20 kB / 0.5968 GB, free: 3.469 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.7188, allocations: 0.5225 MB / 0.5973 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.719, allocations: 135.5 kB / 0.5975 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.7193, allocations: 272.4 kB / 0.5977 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.7206, allocations: 0.9487 MB / 0.5987 GB, free: 1.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7206, allocations: 0 / 0.5987 GB, free: 1.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.135e-06/0.7206, allocations: 3.984 kB / 0.5987 GB, free: 1.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.7206, allocations: 0 / 0.5987 GB, free: 1.586 MB / 462.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.001587/0.7222, allocations: 0.8141 MB / 0.5995 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7222, allocations: 8.031 kB / 0.5995 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.7226, allocations: 71.42 kB / 0.5995 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.7232, allocations: 398.3 kB / 0.5999 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-05/0.7233, allocations: 62.69 kB / 0.6 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.7234, allocations: 39.91 kB / 0.6 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.7244, allocations: 0.5323 MB / 0.6005 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.7244, allocations: 7.938 kB / 0.6005 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.7245, allocations: 16 kB / 0.6006 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.7245, allocations: 16.64 kB / 0.6006 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009303/0.7255, allocations: 434.1 kB / 0.601 GB, free: 15.06 MB / 478.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.003266/0.7287, allocations: 2.512 MB / 0.6034 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/0.7296, allocations: 367.4 kB / 0.6038 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.73, allocations: 174.9 kB / 0.604 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.73, allocations: 8.281 kB / 0.604 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/0.7306, allocations: 281.2 kB / 0.6042 GB, free: 11.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.7306, allocations: 4 kB / 0.6042 GB, free: 11.52 MB / 478.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.01265/0.7433, allocations: 3.6 MB / 0.6078 GB, free: 7.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.7434, allocations: 158.2 kB / 0.6079 GB, free: 7.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.7439, allocations: 393.5 kB / 0.6083 GB, free: 7.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.7439, allocations: 37.7 kB / 0.6083 GB, free: 7.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.7441, allocations: 259.9 kB / 0.6086 GB, free: 6.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.7443, allocations: 161.7 kB / 0.6087 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.7444, allocations: 53.69 kB / 0.6088 GB, free: 6.695 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7445, allocations: 354.8 kB / 0.6091 GB, free: 6.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.7451, allocations: 245.1 kB / 0.6093 GB, free: 6.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.7459, allocations: 437.1 kB / 0.6098 GB, free: 5.594 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.7473, allocations: 0.6824 MB / 0.6104 GB, free: 4.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7473, allocations: 8 kB / 0.6104 GB, free: 4.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001925/0.7493, allocations: 0.8374 MB / 0.6112 GB, free: 3.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.7493, allocations: 33.7 kB / 0.6113 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.7493, allocations: 8 kB / 0.6113 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.7498, allocations: 120.8 kB / 0.6114 GB, free: 3.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.7504, allocations: 148.1 kB / 0.6115 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006021/0.751, allocations: 0.6694 MB / 0.6122 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.7516, allocations: 68 kB / 0.6123 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.7517, allocations: 51.98 kB / 0.6123 GB, free: 2.848 MB / 478.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 (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.0003166/0.752, allocations: 201.6 kB / 0.6125 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.7521, allocations: 47.44 kB / 0.6125 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.7543, allocations: 0.7881 MB / 0.6133 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7543, allocations: 4 kB / 0.6133 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7543, allocations: 0 / 0.6133 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7543, allocations: 7.984 kB / 0.6133 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.7571, allocations: 1.327 MB / 0.6146 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.7571, allocations: 0 / 0.6146 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.7576, allocations: 124 kB / 0.6147 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006585/0.7583, allocations: 109.6 kB / 0.6148 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.7584, allocations: 23.98 kB / 0.6149 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.7605, allocations: 1.693 MB / 0.6165 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7605, allocations: 0 / 0.6165 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.763, allocations: 1.04 MB / 0.6175 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.7633, allocations: 172.5 kB / 0.6177 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.7634, allocations: 11.94 kB / 0.6177 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.764, allocations: 67.88 kB / 0.6178 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.7642, allocations: 55.92 kB / 0.6178 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.7642, allocations: 35.98 kB / 0.6179 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004175/0.7647, allocations: 279.1 kB / 0.6181 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7647, allocations: 0 / 0.6181 GB, free: 12.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009493/0.7656, allocations: 236 kB / 0.6184 GB, free: 12.38 MB / 494.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 (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.0008796/0.7665, allocations: 316.2 kB / 0.6187 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.7682, allocations: 0.6576 MB / 0.6193 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7682, allocations: 3.938 kB / 0.6193 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009427/0.7692, allocations: 447.6 kB / 0.6197 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7704, allocations: 189.3 kB / 0.6199 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.7726, allocations: 1.437 MB / 0.6213 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.7731, allocations: 0.8592 MB / 0.6222 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006714/0.7738, allocations: 154.8 kB / 0.6223 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.774, allocations: 71.36 kB / 0.6224 GB, free: 8.184 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.774, allocations: 4 kB / 0.6224 GB, free: 8.18 MB / 494.1 MB Notification: Performance of Templates: time 0.2499/1.024, allocations: 12.88 MB / 0.635 GB, free: 152.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (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) 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