Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002827/0.002832, allocations: 362.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.025/4.025, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00361/0.00361, allocations: 220 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.527/0.527, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.222/2.327, allocations: 0.604 GB / 1.284 GB, free: 151.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/2.328, allocations: 90.61 kB / 1.284 GB, free: 151.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3508/2.678, allocations: 102.7 MB / 1.384 GB, free: 87.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/2.679, allocations: 3.938 kB / 1.384 GB, free: 87.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.993e-05/2.679, allocations: 12 kB / 1.384 GB, free: 87.78 MB / 490.7 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.002358/2.681, allocations: 0.8799 MB / 1.385 GB, free: 86.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/2.681, allocations: 8.828 kB / 1.385 GB, free: 86.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/2.682, allocations: 71.41 kB / 1.385 GB, free: 86.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/2.682, allocations: 411.5 kB / 1.386 GB, free: 86.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/2.683, allocations: 66.62 kB / 1.386 GB, free: 86.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/2.683, allocations: 43.98 kB / 1.386 GB, free: 86.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/2.684, allocations: 0.533 MB / 1.386 GB, free: 85.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/2.684, allocations: 3.906 kB / 1.386 GB, free: 85.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/2.684, allocations: 16 kB / 1.386 GB, free: 85.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/2.684, allocations: 16.66 kB / 1.386 GB, free: 85.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/2.686, allocations: 422.2 kB / 1.387 GB, free: 85.19 MB / 490.7 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.004258/2.69, allocations: 2.421 MB / 1.389 GB, free: 82.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/2.691, allocations: 355.6 kB / 1.39 GB, free: 82.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/2.692, allocations: 183.8 kB / 1.39 GB, free: 82.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/2.692, allocations: 12.22 kB / 1.39 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007785/2.693, allocations: 272.2 kB / 1.39 GB, free: 81.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/2.693, allocations: 0 / 1.39 GB, free: 81.76 MB / 490.7 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.02101/2.714, allocations: 3.624 MB / 1.393 GB, free: 78.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/2.714, allocations: 132.5 kB / 1.394 GB, free: 77.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/2.714, allocations: 373.6 kB / 1.394 GB, free: 77.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/2.715, allocations: 37.7 kB / 1.394 GB, free: 77.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/2.715, allocations: 255.8 kB / 1.394 GB, free: 77.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/2.715, allocations: 157.8 kB / 1.394 GB, free: 77.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/2.715, allocations: 12 kB / 1.394 GB, free: 77.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/2.715, allocations: 358.7 kB / 1.395 GB, free: 76.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/2.716, allocations: 241.1 kB / 1.395 GB, free: 76.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/2.717, allocations: 449.5 kB / 1.395 GB, free: 75.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/2.718, allocations: 314.3 kB / 1.396 GB, free: 75.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/2.718, allocations: 8 kB / 1.396 GB, free: 75.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00268/2.721, allocations: 0.8064 MB / 1.397 GB, free: 74.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/2.721, allocations: 41.69 kB / 1.397 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/2.721, allocations: 7.984 kB / 1.397 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006807/2.722, allocations: 116.8 kB / 1.397 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/2.723, allocations: 156 kB / 1.397 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/2.724, allocations: 0.6772 MB / 1.397 GB, free: 73.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/2.725, allocations: 64.02 kB / 1.398 GB, free: 73.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/2.725, allocations: 47.98 kB / 1.398 GB, free: 73.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004028/2.725, allocations: 201.6 kB / 1.398 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/2.725, allocations: 51.42 kB / 1.398 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/2.728, allocations: 0.772 MB / 1.399 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/2.728, allocations: 4 kB / 1.399 GB, free: 72.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/2.728, allocations: 8 kB / 1.399 GB, free: 72.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/2.728, allocations: 3.984 kB / 1.399 GB, free: 72.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/2.732, allocations: 1.315 MB / 1.4 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/2.732, allocations: 0 / 1.4 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/2.733, allocations: 120 kB / 1.4 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000967/2.734, allocations: 100.8 kB / 1.4 GB, free: 70.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/2.734, allocations: 20 kB / 1.4 GB, free: 70.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/2.737, allocations: 1.691 MB / 1.402 GB, free: 69.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/2.737, allocations: 7.984 kB / 1.402 GB, free: 69.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/2.74, allocations: 1.036 MB / 1.403 GB, free: 68.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/2.741, allocations: 160.5 kB / 1.403 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/2.741, allocations: 12 kB / 1.403 GB, free: 67.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/2.742, allocations: 63.94 kB / 1.403 GB, free: 67.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/2.742, allocations: 55.92 kB / 1.403 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/2.742, allocations: 35.98 kB / 1.403 GB, free: 67.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003979/2.743, allocations: 267.1 kB / 1.403 GB, free: 67.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.743, allocations: 4 kB / 1.403 GB, free: 67.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001465/2.744, allocations: 299.8 kB / 1.404 GB, free: 67.12 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/2.746, allocations: 0.8112 MB / 1.404 GB, free: 66.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002465/2.748, allocations: 0.65 MB / 1.405 GB, free: 65.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/2.749, allocations: 4 kB / 1.405 GB, free: 65.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/2.75, allocations: 430.5 kB / 1.405 GB, free: 65.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/2.752, allocations: 185.3 kB / 1.406 GB, free: 65.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/2.756, allocations: 1.823 MB / 1.407 GB, free: 63.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/2.756, allocations: 0.8668 MB / 1.408 GB, free: 62.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001187/2.758, allocations: 148.5 kB / 1.408 GB, free: 62.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/2.758, allocations: 79.41 kB / 1.409 GB, free: 62.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.783e-06/2.758, allocations: 0 / 1.409 GB, free: 62.05 MB / 490.7 MB Notification: Performance of Templates: time 0.04607/2.804, allocations: 19.98 MB / 1.428 GB, free: 42.15 MB / 490.7 MB