Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.001846/0.001846, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000922/0.000922, allocations: 98.59 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1818/0.1818, allocations: 45.15 MB / 383.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2491/0.431, allocations: 69.36 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.5479, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/0.8302, allocations: 93.41 MB / 0.5951 GB, free: 9.664 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.8305, allocations: 84.72 kB / 0.5952 GB, free: 9.621 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.06399/0.8945, allocations: 29.07 MB / 0.6236 GB, free: 2.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.8945, allocations: 8 kB / 0.6236 GB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.8962, allocations: 263.6 kB / 0.6238 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.8964, allocations: 259.3 kB / 0.6241 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.8965, allocations: 53.98 kB / 0.6241 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.8967, allocations: 59.91 kB / 0.6242 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001078/0.8978, allocations: 0.6352 MB / 0.6248 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.8989, allocations: 0.7572 MB / 0.6255 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.899, allocations: 7.906 kB / 0.6255 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.899, allocations: 0 / 0.6255 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.8991, allocations: 27.98 kB / 0.6256 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.9034, allocations: 3.957 MB / 0.6294 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.9042, allocations: 0.5728 MB / 0.63 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.9045, allocations: 244.8 kB / 0.6302 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.9047, allocations: 178.5 kB / 0.6304 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.9047, allocations: 53.66 kB / 0.6304 GB, free: 12.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.374e-06/0.9047, allocations: 0 / 0.6304 GB, free: 12.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001355/0.9061, allocations: 0.6048 MB / 0.631 GB, free: 11.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.9061, allocations: 139.6 kB / 0.6312 GB, free: 11.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.9064, allocations: 241.7 kB / 0.6314 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.9064, allocations: 25.7 kB / 0.6314 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.9066, allocations: 394 kB / 0.6318 GB, free: 11.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.9067, allocations: 224.2 kB / 0.632 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.9067, allocations: 0 / 0.632 GB, free: 10.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9069, allocations: 354.6 kB / 0.6324 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.9071, allocations: 180.9 kB / 0.6325 GB, free: 10.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.9075, allocations: 370.2 kB / 0.6329 GB, free: 10.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.9081, allocations: 269 kB / 0.6331 GB, free: 10.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.9081, allocations: 3.938 kB / 0.6331 GB, free: 10.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00156/0.9097, allocations: 0.8124 MB / 0.6339 GB, free: 9.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.9097, allocations: 4 kB / 0.6339 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.9097, allocations: 7.984 kB / 0.6339 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.9103, allocations: 223.7 kB / 0.6342 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.9109, allocations: 138.3 kB / 0.6343 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.9154, allocations: 5.854 MB / 0.64 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.9159, allocations: 67.2 kB / 0.6401 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.916, allocations: 36.56 kB / 0.6401 GB, free: 3.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.9161, allocations: 128.8 kB / 0.6402 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.9162, allocations: 35.53 kB / 0.6403 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.9177, allocations: 0.6759 MB / 0.6409 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.9177, allocations: 4 kB / 0.6409 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.9177, allocations: 12 kB / 0.6409 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.9177, allocations: 7.922 kB / 0.6409 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.92, allocations: 1.509 MB / 0.6424 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.9201, allocations: 0 / 0.6424 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.9203, allocations: 67.91 kB / 0.6425 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005253/0.9209, allocations: 215.2 kB / 0.6427 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.9209, allocations: 8 kB / 0.6427 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.9255, allocations: 5.83 MB / 0.6484 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9255, allocations: 4.062 kB / 0.6484 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001576/0.9271, allocations: 1.186 MB / 0.6496 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001987/0.9291, allocations: 1.804 MB / 0.6513 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.9292, allocations: 128.4 kB / 0.6514 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.9293, allocations: 0 / 0.6514 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.9296, allocations: 8.062 kB / 0.6514 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.9297, allocations: 35.86 kB / 0.6515 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.9297, allocations: 16 kB / 0.6515 GB, free: 6.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001681/0.9299, allocations: 181.2 kB / 0.6517 GB, free: 6.484 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001481/0.9314, allocations: 255.1 kB / 0.6519 GB, free: 6.234 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002406/0.9317, allocations: 136.1 kB / 0.652 GB, free: 6.094 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.933, allocations: 0.9591 MB / 0.653 GB, free: 5.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.933, allocations: 256 / 0.653 GB, free: 5.094 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007663/0.9338, allocations: 0.6822 MB / 0.6536 GB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.9342, allocations: 21.48 kB / 0.6537 GB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.9362, allocations: 0.9635 MB / 0.6546 GB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/0.9368, allocations: 0.9612 MB / 0.6555 GB, free: 2.355 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.9368, allocations: 0 / 0.6555 GB, free: 2.355 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat