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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01009/0.0101, allocations: 177.9 kB / 15.12 MB, free: 5.934 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 1.977/1.977, allocations: 194.5 MB / 210.3 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001976/0.001976, allocations: 108.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2492/0.2492, allocations: 40.02 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004966, allocations: 14.06 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1033, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.772/1.876, allocations: 0.604 GB / 1.054 GB, free: 32.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.876, allocations: 87.58 kB / 1.054 GB, free: 32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7389/2.615, allocations: 103.2 MB / 1.155 GB, free: 136.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/2.615, allocations: 0 / 1.155 GB, free: 136.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.101e-05/2.615, allocations: 12 kB / 1.155 GB, free: 136 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.00232/2.617, allocations: 0.8839 MB / 1.156 GB, free: 135.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/2.617, allocations: 8.031 kB / 1.156 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/2.618, allocations: 78.47 kB / 1.156 GB, free: 135 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004748/2.618, allocations: 79.33 kB / 1.156 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/2.619, allocations: 415.4 kB / 1.157 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/2.619, allocations: 62.66 kB / 1.157 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/2.619, allocations: 36 kB / 1.157 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/2.621, allocations: 0.5291 MB / 1.157 GB, free: 133.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/2.621, allocations: 11.98 kB / 1.157 GB, free: 133.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/2.621, allocations: 23.91 kB / 1.157 GB, free: 133.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/2.621, allocations: 12.66 kB / 1.157 GB, free: 133.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/2.622, allocations: 418.2 kB / 1.158 GB, free: 133.4 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.004094/2.626, allocations: 2.429 MB / 1.16 GB, free: 130.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/2.628, allocations: 351.5 kB / 1.16 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/2.628, allocations: 12.25 kB / 1.16 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007597/2.628, allocations: 260.9 kB / 1.161 GB, free: 130.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.785e-06/2.628, allocations: 0 / 1.161 GB, free: 130.1 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.02092/2.649, allocations: 3.615 MB / 1.164 GB, free: 126.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/2.649, allocations: 140.5 kB / 1.164 GB, free: 126.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/2.65, allocations: 336.7 kB / 1.165 GB, free: 125.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/2.65, allocations: 29.7 kB / 1.165 GB, free: 125.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/2.65, allocations: 263.8 kB / 1.165 GB, free: 125.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/2.65, allocations: 161.7 kB / 1.165 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/2.651, allocations: 12 kB / 1.165 GB, free: 125.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/2.651, allocations: 358.7 kB / 1.165 GB, free: 125 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/2.652, allocations: 245.1 kB / 1.166 GB, free: 124.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/2.654, allocations: 430.6 kB / 1.166 GB, free: 124.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/2.656, allocations: 318.3 kB / 1.166 GB, free: 124 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/2.656, allocations: 0 / 1.166 GB, free: 124 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003966/2.66, allocations: 0.8141 MB / 1.167 GB, free: 123.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/2.66, allocations: 33.7 kB / 1.167 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/2.66, allocations: 8 kB / 1.167 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/2.66, allocations: 116.8 kB / 1.167 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/2.661, allocations: 156.1 kB / 1.167 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006933/2.662, allocations: 0.6733 MB / 1.168 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/2.663, allocations: 72 kB / 1.168 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/2.663, allocations: 44 kB / 1.168 GB, free: 122 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.0004188/2.664, allocations: 201.6 kB / 1.168 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/2.664, allocations: 47.44 kB / 1.168 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/2.667, allocations: 0.7759 MB / 1.169 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/2.667, allocations: 4 kB / 1.169 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/2.667, allocations: 3.984 kB / 1.169 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/2.667, allocations: 0 / 1.169 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/2.671, allocations: 1.312 MB / 1.17 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/2.671, allocations: 0 / 1.17 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/2.672, allocations: 124 kB / 1.171 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/2.673, allocations: 104.8 kB / 1.171 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/2.674, allocations: 19.98 kB / 1.171 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/2.676, allocations: 1.707 MB / 1.172 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/2.676, allocations: 8.016 kB / 1.172 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/2.68, allocations: 1.099 MB / 1.173 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/2.681, allocations: 168.4 kB / 1.174 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/2.681, allocations: 8 kB / 1.174 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/2.682, allocations: 59.94 kB / 1.174 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/2.682, allocations: 63.91 kB / 1.174 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/2.682, allocations: 35.98 kB / 1.174 GB, free: 116 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003944/2.682, allocations: 259.2 kB / 1.174 GB, free: 115.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.682, allocations: 0 / 1.174 GB, free: 115.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001468/2.684, allocations: 303.8 kB / 1.174 GB, free: 115.4 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.005929/2.69, allocations: 2.688 MB / 1.177 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002471/2.692, allocations: 0.6539 MB / 1.178 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/2.692, allocations: 0 / 1.178 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/2.694, allocations: 442.5 kB / 1.178 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/2.695, allocations: 181.2 kB / 1.178 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/2.711, allocations: 8.377 MB / 1.186 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/2.712, allocations: 0.8669 MB / 1.187 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001092/2.713, allocations: 152.5 kB / 1.187 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/2.713, allocations: 195.4 kB / 1.188 GB, free: 101.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/2.714, allocations: 0 / 1.188 GB, free: 101.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06542/2.779, allocations: 26.13 MB / 1.213 GB, free: 75.54 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/2.779, allocations: 257.4 kB / 1.213 GB, free: 75.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/6.377, allocations: 4.062 kB / 1.213 GB, free: 75.18 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat