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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01511/0.01511, allocations: 166.5 kB / 15.11 MB, free: 5.93 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 1.69/1.69, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002011/0.002011, allocations: 107 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4424/0.4424, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004624, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.05/2.156, allocations: 0.5972 GB / 0.9993 GB, free: 105.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/2.157, allocations: 86.77 kB / 0.9994 GB, free: 105.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3412/2.498, allocations: 103.1 MB / 1.1 GB, free: 7.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.907e-06/2.498, allocations: 3.984 kB / 1.1 GB, free: 7.371 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.862e-05/2.498, allocations: 19.98 kB / 1.1 GB, free: 7.352 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.002741/2.501, allocations: 0.8798 MB / 1.101 GB, free: 6.414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/2.501, allocations: 8.031 kB / 1.101 GB, free: 6.406 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/2.501, allocations: 78.53 kB / 1.101 GB, free: 6.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/2.502, allocations: 67.42 kB / 1.101 GB, free: 6.254 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/2.503, allocations: 415.6 kB / 1.101 GB, free: 5.805 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-05/2.503, allocations: 54.7 kB / 1.102 GB, free: 5.746 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/2.503, allocations: 40 kB / 1.102 GB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/2.504, allocations: 0.5368 MB / 1.102 GB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/2.505, allocations: 3.906 kB / 1.102 GB, free: 5.121 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/2.505, allocations: 23.95 kB / 1.102 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/2.505, allocations: 16.66 kB / 1.102 GB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/2.506, allocations: 426.1 kB / 1.103 GB, free: 4.664 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.004132/2.51, allocations: 2.414 MB / 1.105 GB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/2.512, allocations: 359.5 kB / 1.105 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/2.512, allocations: 4.281 kB / 1.105 GB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007539/2.512, allocations: 264.9 kB / 1.106 GB, free: 1.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.035e-06/2.512, allocations: 0 / 1.106 GB, free: 1.438 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.3057/2.818, allocations: 3.615 MB / 1.109 GB, free: 93.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/2.818, allocations: 136.5 kB / 1.109 GB, free: 93.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/2.819, allocations: 333.4 kB / 1.109 GB, free: 93.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/2.819, allocations: 35.58 kB / 1.11 GB, free: 93.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/2.819, allocations: 264 kB / 1.11 GB, free: 93.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/2.82, allocations: 162.9 kB / 1.11 GB, free: 92.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/2.82, allocations: 13.59 kB / 1.11 GB, free: 92.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/2.82, allocations: 357.7 kB / 1.11 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/2.821, allocations: 237 kB / 1.111 GB, free: 92.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/2.822, allocations: 435.5 kB / 1.111 GB, free: 92.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/2.824, allocations: 322.9 kB / 1.111 GB, free: 92.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/2.824, allocations: 1.5 kB / 1.111 GB, free: 92.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003377/2.827, allocations: 0.8124 MB / 1.112 GB, free: 92.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/2.827, allocations: 37.53 kB / 1.112 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/2.827, allocations: 7.641 kB / 1.112 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007944/2.828, allocations: 115.3 kB / 1.112 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/2.829, allocations: 157.2 kB / 1.112 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/2.83, allocations: 0.6705 MB / 1.113 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/2.831, allocations: 68.47 kB / 1.113 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/2.831, allocations: 44.75 kB / 1.113 GB, free: 91.73 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.0004695/2.832, allocations: 201 kB / 1.113 GB, free: 91.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/2.832, allocations: 46.88 kB / 1.113 GB, free: 91.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/2.836, allocations: 0.7818 MB / 1.114 GB, free: 91.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/2.836, allocations: 5.5 kB / 1.114 GB, free: 91.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/2.836, allocations: 3.5 kB / 1.114 GB, free: 91.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/2.836, allocations: 8.797 kB / 1.114 GB, free: 91.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/2.84, allocations: 1.306 MB / 1.115 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/2.84, allocations: 2.625 kB / 1.115 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009171/2.841, allocations: 122 kB / 1.116 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/2.842, allocations: 106.5 kB / 1.116 GB, free: 91.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/2.842, allocations: 23.38 kB / 1.116 GB, free: 91.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/2.845, allocations: 1.713 MB / 1.117 GB, free: 89.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.845, allocations: 0 / 1.117 GB, free: 89.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/2.849, allocations: 1.092 MB / 1.118 GB, free: 89.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/2.849, allocations: 157.6 kB / 1.119 GB, free: 89.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/2.85, allocations: 13.31 kB / 1.119 GB, free: 89.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/2.85, allocations: 60.84 kB / 1.119 GB, free: 89.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/2.851, allocations: 68.11 kB / 1.119 GB, free: 89.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/2.851, allocations: 35.52 kB / 1.119 GB, free: 89.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004098/2.851, allocations: 253.6 kB / 1.119 GB, free: 89.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.851, allocations: 3.062 kB / 1.119 GB, free: 89.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001478/2.853, allocations: 305.2 kB / 1.119 GB, free: 89.39 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.006168/2.859, allocations: 2.699 MB / 1.122 GB, free: 88.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002662/2.862, allocations: 0.6497 MB / 1.122 GB, free: 88.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.862, allocations: 0.6562 kB / 1.122 GB, free: 88.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/2.863, allocations: 441.5 kB / 1.123 GB, free: 87.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/2.865, allocations: 181 kB / 1.123 GB, free: 87.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/2.882, allocations: 8.371 MB / 1.131 GB, free: 83.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/2.883, allocations: 0.8704 MB / 1.132 GB, free: 82.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001167/2.884, allocations: 153.2 kB / 1.132 GB, free: 82.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/2.884, allocations: 189.4 kB / 1.132 GB, free: 82.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/2.884, allocations: 0 / 1.132 GB, free: 82.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07458/2.959, allocations: 26.13 MB / 1.158 GB, free: 81.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/2.959, allocations: 266.4 kB / 1.158 GB, free: 81.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.545/6.505, allocations: 0 / 1.158 GB, free: 81.04 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat