Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00376/0.003765, allocations: 350.6 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.817/3.817, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003661/0.003661, allocations: 214.2 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5417/0.5417, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007164/0.0007166, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1187, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.074/2.193, allocations: 0.5972 GB / 1.204 GB, free: 69.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/2.193, allocations: 99.97 kB / 1.204 GB, free: 69.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6561/2.849, allocations: 102.6 MB / 1.304 GB, free: 117.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.494e-06/2.849, allocations: 0 / 1.304 GB, free: 117.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.213e-05/2.849, allocations: 9.625 kB / 1.304 GB, free: 117.2 MB / 442.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.002887/2.852, allocations: 0.8714 MB / 1.305 GB, free: 116.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/2.852, allocations: 12.41 kB / 1.305 GB, free: 116.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/2.853, allocations: 78.72 kB / 1.305 GB, free: 116.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/2.854, allocations: 421.5 kB / 1.306 GB, free: 116.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/2.854, allocations: 61.61 kB / 1.306 GB, free: 116.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/2.855, allocations: 35.16 kB / 1.306 GB, free: 116.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/2.856, allocations: 0.5327 MB / 1.306 GB, free: 116.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/2.856, allocations: 6.844 kB / 1.306 GB, free: 116.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/2.856, allocations: 17.28 kB / 1.306 GB, free: 116.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/2.857, allocations: 15.81 kB / 1.306 GB, free: 116.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/2.858, allocations: 423.5 kB / 1.307 GB, free: 116.3 MB / 442.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.004842/2.863, allocations: 2.439 MB / 1.309 GB, free: 114.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/2.864, allocations: 356.5 kB / 1.309 GB, free: 114.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/2.865, allocations: 177.5 kB / 1.31 GB, free: 114.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.147e-05/2.865, allocations: 3.969 kB / 1.31 GB, free: 114.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/2.866, allocations: 271 kB / 1.31 GB, free: 114.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.486e-06/2.866, allocations: 0 / 1.31 GB, free: 114.6 MB / 442.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.02221/2.888, allocations: 3.623 MB / 1.313 GB, free: 113.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/2.888, allocations: 140.8 kB / 1.313 GB, free: 113.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/2.889, allocations: 372.8 kB / 1.314 GB, free: 113.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/2.889, allocations: 36.8 kB / 1.314 GB, free: 113.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/2.889, allocations: 257 kB / 1.314 GB, free: 113.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/2.889, allocations: 160.1 kB / 1.314 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/2.89, allocations: 15.28 kB / 1.314 GB, free: 113.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/2.89, allocations: 355.8 kB / 1.315 GB, free: 113 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/2.891, allocations: 237.8 kB / 1.315 GB, free: 113 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/2.892, allocations: 436.2 kB / 1.315 GB, free: 112.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/2.893, allocations: 322.6 kB / 1.316 GB, free: 112.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/2.893, allocations: 0 / 1.316 GB, free: 112.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002859/2.896, allocations: 0.8109 MB / 1.316 GB, free: 112.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/2.896, allocations: 41.95 kB / 1.316 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/2.896, allocations: 11.72 kB / 1.316 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/2.897, allocations: 118.6 kB / 1.317 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/2.898, allocations: 154.9 kB / 1.317 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007844/2.899, allocations: 0.6631 MB / 1.317 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/2.9, allocations: 76.42 kB / 1.317 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/2.9, allocations: 44.78 kB / 1.317 GB, free: 112.1 MB / 442.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.0004359/2.9, allocations: 202 kB / 1.318 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/2.9, allocations: 50.16 kB / 1.318 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/2.904, allocations: 0.7749 MB / 1.318 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/2.904, allocations: 3.938 kB / 1.318 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/2.904, allocations: 0 / 1.318 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/2.904, allocations: 3.844 kB / 1.318 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/2.908, allocations: 1.322 MB / 1.32 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/2.908, allocations: 7.594 kB / 1.32 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/2.909, allocations: 115.8 kB / 1.32 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009994/2.91, allocations: 103.8 kB / 1.32 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/2.91, allocations: 22.89 kB / 1.32 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/2.913, allocations: 1.687 MB / 1.322 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.913, allocations: 3.969 kB / 1.322 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00385/2.917, allocations: 1.034 MB / 1.323 GB, free: 109.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/2.917, allocations: 163.9 kB / 1.323 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/2.917, allocations: 11.91 kB / 1.323 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/2.918, allocations: 60.86 kB / 1.323 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/2.918, allocations: 60.91 kB / 1.323 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/2.918, allocations: 34.23 kB / 1.323 GB, free: 109 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004106/2.919, allocations: 261.6 kB / 1.323 GB, free: 108.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.919, allocations: 0 / 1.323 GB, free: 108.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001428/2.92, allocations: 311.2 kB / 1.324 GB, free: 108.8 MB / 442.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.001895/2.922, allocations: 0.8038 MB / 1.324 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003234/2.925, allocations: 0.6533 MB / 1.325 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.925, allocations: 3.219 kB / 1.325 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/2.927, allocations: 431 kB / 1.325 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/2.929, allocations: 193.5 kB / 1.326 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006008/2.935, allocations: 1.826 MB / 1.327 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/2.936, allocations: 0.8608 MB / 1.328 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00177/2.938, allocations: 151.1 kB / 1.328 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005996/2.938, allocations: 75.23 kB / 1.328 GB, free: 106.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/2.938, allocations: 0 / 1.328 GB, free: 106.4 MB / 442.7 MB Notification: Performance of Templates: time 0.08915/3.028, allocations: 19.99 MB / 1.348 GB, free: 102.3 MB / 442.7 MB