Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 196.7 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000798/0.0007979, allocations: 91.94 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1734/0.1734, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.82e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.0924, allocations: 63.24 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.4296, allocations: 91.18 MB / 0.6005 GB, free: 2.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.4298, allocations: 84.14 kB / 0.6006 GB, free: 2.605 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0216/0.4514, allocations: 9.811 MB / 0.6102 GB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4514, allocations: 3.938 kB / 0.6102 GB, free: 10.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.4515, allocations: 4 kB / 0.6102 GB, free: 10.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009221/0.4524, allocations: 0.5527 MB / 0.6107 GB, free: 9.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4524, allocations: 15.97 kB / 0.6107 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.4525, allocations: 59.91 kB / 0.6108 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.4528, allocations: 50.38 kB / 0.6108 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.453, allocations: 186.8 kB / 0.611 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.453, allocations: 23.12 kB / 0.611 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.4531, allocations: 22.81 kB / 0.611 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.4535, allocations: 257.2 kB / 0.6113 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4535, allocations: 0 / 0.6113 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.4535, allocations: 13.81 kB / 0.6113 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4535, allocations: 8 kB / 0.6113 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.4538, allocations: 173.2 kB / 0.6115 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.4551, allocations: 1.022 MB / 0.6125 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.4555, allocations: 352.3 kB / 0.6128 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.4556, allocations: 110.1 kB / 0.6129 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.4558, allocations: 169.3 kB / 0.6131 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.4558, allocations: 34.5 kB / 0.6131 GB, free: 7.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.4558, allocations: 4 kB / 0.6131 GB, free: 7.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004313/0.4563, allocations: 199.6 kB / 0.6133 GB, free: 7.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4563, allocations: 84.11 kB / 0.6134 GB, free: 7.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.4564, allocations: 129.5 kB / 0.6135 GB, free: 7.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4565, allocations: 29.7 kB / 0.6135 GB, free: 7.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.4566, allocations: 149.8 kB / 0.6137 GB, free: 7.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4566, allocations: 69.05 kB / 0.6137 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.4566, allocations: 0 / 0.6137 GB, free: 7.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.4567, allocations: 326.2 kB / 0.6141 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.4568, allocations: 46.06 kB / 0.6141 GB, free: 6.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.4569, allocations: 87.09 kB / 0.6142 GB, free: 6.742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.457, allocations: 63.11 kB / 0.6142 GB, free: 6.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.457, allocations: 0 / 0.6142 GB, free: 6.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003432/0.4574, allocations: 226.2 kB / 0.6145 GB, free: 6.523 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4574, allocations: 8 kB / 0.6145 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4574, allocations: 0 / 0.6145 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.4576, allocations: 61.17 kB / 0.6145 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.4578, allocations: 47.91 kB / 0.6146 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.4594, allocations: 2.648 MB / 0.6172 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.4595, allocations: 31.8 kB / 0.6172 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.4595, allocations: 15.83 kB / 0.6172 GB, free: 3.594 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.4596, allocations: 109.7 kB / 0.6173 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.4597, allocations: 11.91 kB / 0.6173 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.46, allocations: 228.8 kB / 0.6175 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4601, allocations: 0 / 0.6175 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4601, allocations: 4 kB / 0.6175 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4601, allocations: 0 / 0.6175 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008083/0.4609, allocations: 0.6154 MB / 0.6181 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4609, allocations: 4 kB / 0.6181 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.4611, allocations: 39.78 kB / 0.6182 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.4612, allocations: 52.69 kB / 0.6182 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4612, allocations: 3.625 kB / 0.6182 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.4627, allocations: 2.637 MB / 0.6208 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4627, allocations: 4.031 kB / 0.6208 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.4632, allocations: 491.6 kB / 0.6213 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.4632, allocations: 100.3 kB / 0.6214 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.4633, allocations: 8.016 kB / 0.6214 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4635, allocations: 27.3 kB / 0.6214 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.4635, allocations: 27.47 kB / 0.6214 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4636, allocations: 4 kB / 0.6214 GB, free: 15.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.1e-05/0.4636, allocations: 108.2 kB / 0.6215 GB, free: 15.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4636, allocations: 0 / 0.6215 GB, free: 15.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003843/0.464, allocations: 85.12 kB / 0.6216 GB, free: 15.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008703/0.4649, allocations: 1.268 MB / 0.6229 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.4653, allocations: 359.1 kB / 0.6232 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4653, allocations: 0 / 0.6232 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.4656, allocations: 306.9 kB / 0.6235 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.4658, allocations: 10.14 kB / 0.6235 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.4665, allocations: 399.3 kB / 0.6239 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4668, allocations: 0.7477 MB / 0.6246 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.13e-05/0.4669, allocations: 9.219 kB / 0.6246 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.467, allocations: 60.59 kB / 0.6247 GB, free: 12.03 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.467, allocations: 0 / 0.6247 GB, free: 12.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.4812, allocations: 4.076 MB / 0.6287 GB, free: 8.137 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.4815, allocations: 204.2 kB / 0.6289 GB, free: 7.902 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.969, allocations: 0 / 0.6289 GB, free: 7.902 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat