Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.001438/0.001438, allocations: 203 kB / 8.542 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009004/0.0009004, allocations: 91.17 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08941/0.09034, allocations: 56.91 MB / 343.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.1697, allocations: 51.47 MB / 394.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.3746, allocations: 82.62 MB / 477.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.3748, allocations: 88.73 kB / 477.4 MB, free: 10.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.04911/0.4239, allocations: 22.45 MB / 499.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.424, allocations: 8 kB / 499.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.4255, allocations: 228.6 kB / 0.4884 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.4257, allocations: 242.2 kB / 0.4886 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.4257, allocations: 20 kB / 0.4886 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.4258, allocations: 47.91 kB / 0.4887 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/0.4269, allocations: 0.5685 MB / 0.4892 GB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4279, allocations: 0.6215 MB / 0.4898 GB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4279, allocations: 3.984 kB / 0.4899 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.428, allocations: 0 / 0.4899 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.428, allocations: 23.91 kB / 0.4899 GB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.4322, allocations: 3.194 MB / 0.493 GB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4335, allocations: 0.6512 MB / 0.4936 GB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.4339, allocations: 267.6 kB / 0.4939 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.4341, allocations: 182.8 kB / 0.4941 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4341, allocations: 43.2 kB / 0.4941 GB, free: 2.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.175e-06/0.4341, allocations: 0 / 0.4941 GB, free: 2.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001385/0.4355, allocations: 0.5829 MB / 0.4947 GB, free: 2.312 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.4356, allocations: 119.5 kB / 0.4948 GB, free: 2.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4358, allocations: 216 kB / 0.495 GB, free: 1.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.4359, allocations: 25.7 kB / 0.495 GB, free: 1.922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.436, allocations: 287.5 kB / 0.4953 GB, free: 1.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.4362, allocations: 232.4 kB / 0.4955 GB, free: 1.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.4362, allocations: 0 / 0.4955 GB, free: 1.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4363, allocations: 350.7 kB / 0.4958 GB, free: 1.051 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.4367, allocations: 194 kB / 0.496 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.4371, allocations: 332.2 kB / 0.4963 GB, free: 492 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.4377, allocations: 276.4 kB / 0.4966 GB, free: 220 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4378, allocations: 0 / 0.4966 GB, free: 220 kB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0015/0.4393, allocations: 0.7304 MB / 0.4973 GB, free: 15.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4393, allocations: 4 kB / 0.4973 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4393, allocations: 4 kB / 0.4973 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.4397, allocations: 125.2 kB / 0.4975 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.4404, allocations: 171.7 kB / 0.4976 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.4432, allocations: 3.208 MB / 0.5007 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.4437, allocations: 79.31 kB / 0.5008 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.4438, allocations: 28 kB / 0.5008 GB, free: 11.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.4439, allocations: 137.1 kB / 0.501 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.444, allocations: 39.53 kB / 0.501 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.4455, allocations: 0.6699 MB / 0.5017 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4455, allocations: 8 kB / 0.5017 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4456, allocations: 224 / 0.5017 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4456, allocations: 7.984 kB / 0.5017 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.4479, allocations: 1.384 MB / 0.503 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4479, allocations: 4 kB / 0.503 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.4485, allocations: 127.8 kB / 0.5032 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.4488, allocations: 101.7 kB / 0.5033 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.4488, allocations: 4 kB / 0.5033 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.4511, allocations: 2.921 MB / 0.5061 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4511, allocations: 0 / 0.5061 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001643/0.4527, allocations: 1.04 MB / 0.5071 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002132/0.4549, allocations: 1.689 MB / 0.5088 GB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.455, allocations: 120.5 kB / 0.5089 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.4551, allocations: 1.969 kB / 0.5089 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.4555, allocations: 32.03 kB / 0.5089 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.4556, allocations: 36.59 kB / 0.509 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.4557, allocations: 23.98 kB / 0.509 GB, free: 2.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001459/0.4558, allocations: 164.5 kB / 0.5091 GB, free: 2.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001301/0.4571, allocations: 215.4 kB / 0.5093 GB, free: 2.523 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002417/0.4574, allocations: 159 kB / 0.5095 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.4585, allocations: 0.7589 MB / 0.5102 GB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4585, allocations: 0 / 0.5102 GB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.4591, allocations: 482 kB / 0.5107 GB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.4594, allocations: 20.33 kB / 0.5107 GB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.4612, allocations: 0.8172 MB / 0.5115 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/0.4618, allocations: 0.9391 MB / 0.5124 GB, free: 15.26 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4618, allocations: 0 / 0.5124 GB, free: 15.26 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat