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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008925/0.0008926, allocations: 96.41 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1699/0.1699, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2074/0.3773, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.4611, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.7324, allocations: 90.44 MB / 0.5922 GB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.7326, allocations: 77.03 kB / 0.5923 GB, free: 12.62 MB / 394.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.02346/0.7561, allocations: 9.957 MB / 0.602 GB, free: 4.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7561, allocations: 11.94 kB / 0.602 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.7565, allocations: 58.67 kB / 0.602 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.7567, allocations: 190.8 kB / 0.6022 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.7567, allocations: 8 kB / 0.6022 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.7568, allocations: 12 kB / 0.6022 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003338/0.7571, allocations: 162.5 kB / 0.6024 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.7575, allocations: 226.8 kB / 0.6026 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.7575, allocations: 0 / 0.6026 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.7575, allocations: 0 / 0.6026 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.7576, allocations: 8 kB / 0.6026 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.759, allocations: 0.9706 MB / 0.6036 GB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.7592, allocations: 163.3 kB / 0.6037 GB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.7594, allocations: 102 kB / 0.6038 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.7596, allocations: 170.2 kB / 0.604 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.7596, allocations: 34 kB / 0.604 GB, free: 2.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.7596, allocations: 7.938 kB / 0.604 GB, free: 2.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005527/0.7602, allocations: 197.6 kB / 0.6042 GB, free: 2.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.7602, allocations: 85.05 kB / 0.6043 GB, free: 2.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.7603, allocations: 117 kB / 0.6044 GB, free: 2.324 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.7603, allocations: 25.7 kB / 0.6044 GB, free: 2.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.7604, allocations: 143.1 kB / 0.6046 GB, free: 2.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.7605, allocations: 65.58 kB / 0.6046 GB, free: 2.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.7605, allocations: 0 / 0.6046 GB, free: 2.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.7606, allocations: 318.1 kB / 0.6049 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.7606, allocations: 46.06 kB / 0.605 GB, free: 1.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.7608, allocations: 85.72 kB / 0.6051 GB, free: 1.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.7609, allocations: 62.7 kB / 0.6051 GB, free: 1.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7609, allocations: 3.938 kB / 0.6051 GB, free: 1.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004294/0.7614, allocations: 217.6 kB / 0.6053 GB, free: 1.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7614, allocations: 8.031 kB / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7614, allocations: 0 / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.7616, allocations: 51.38 kB / 0.6054 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.7618, allocations: 51.66 kB / 0.6054 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.7636, allocations: 2.527 MB / 0.6079 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.7638, allocations: 31.94 kB / 0.6079 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.7638, allocations: 11.5 kB / 0.6079 GB, free: 14.66 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 9.464e-05/0.7639, allocations: 104.9 kB / 0.608 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.764, allocations: 15.81 kB / 0.6081 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.7644, allocations: 212.8 kB / 0.6083 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7645, allocations: 4 kB / 0.6083 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7645, allocations: 4 kB / 0.6083 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7645, allocations: 3.984 kB / 0.6083 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.7654, allocations: 0.5494 MB / 0.6088 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.7654, allocations: 7.906 kB / 0.6088 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.7656, allocations: 44.03 kB / 0.6089 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.7657, allocations: 50.67 kB / 0.6089 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.7658, allocations: 0 / 0.6089 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.7675, allocations: 2.511 MB / 0.6114 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7675, allocations: 0 / 0.6114 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005608/0.768, allocations: 491.7 kB / 0.6118 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000706/0.7688, allocations: 0.9151 MB / 0.6127 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.7688, allocations: 88.95 kB / 0.6128 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.7688, allocations: 4 kB / 0.6128 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.7691, allocations: 27.48 kB / 0.6128 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.7691, allocations: 19.81 kB / 0.6129 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.7692, allocations: 7.5 kB / 0.6129 GB, free: 9.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.922e-05/0.7692, allocations: 94.09 kB / 0.613 GB, free: 9.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001044/0.7703, allocations: 90.55 kB / 0.613 GB, free: 9.504 MB / 410.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.0002061/0.7705, allocations: 126.3 kB / 0.6132 GB, free: 9.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.7709, allocations: 343.6 kB / 0.6135 GB, free: 9.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7709, allocations: 0 / 0.6135 GB, free: 9.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.7712, allocations: 274.5 kB / 0.6138 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.7714, allocations: 4 kB / 0.6138 GB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.7721, allocations: 331.5 kB / 0.6141 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.7724, allocations: 0.7646 MB / 0.6148 GB, free: 7.691 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7724, allocations: 0 / 0.6148 GB, free: 7.691 MB / 410.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