Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 187.4 kB / 7.801 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.97 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2018/0.2018, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2351/0.437, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.7847, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.932, allocations: 90.79 MB / 0.5542 GB, free: 8.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.9323, allocations: 83.89 kB / 0.5542 GB, free: 8.031 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.06819/1.001, allocations: 27.33 MB / 0.5809 GB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.001, allocations: 8 kB / 0.5809 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/1.002, allocations: 246.8 kB / 0.5812 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/1.003, allocations: 258.6 kB / 0.5814 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/1.003, allocations: 42 kB / 0.5814 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/1.003, allocations: 63.91 kB / 0.5815 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001565/1.005, allocations: 0.6327 MB / 0.5821 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.006, allocations: 0.76 MB / 0.5829 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/1.006, allocations: 7.906 kB / 0.5829 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/1.007, allocations: 0 / 0.5829 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/1.007, allocations: 27.94 kB / 0.5829 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/1.012, allocations: 3.784 MB / 0.5866 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/1.013, allocations: 0.5671 MB / 0.5871 GB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/1.014, allocations: 247.8 kB / 0.5874 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/1.014, allocations: 97.41 kB / 0.5875 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/1.014, allocations: 54.72 kB / 0.5875 GB, free: 5.055 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.786e-06/1.014, allocations: 0 / 0.5875 GB, free: 5.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001625/1.015, allocations: 0.5996 MB / 0.5881 GB, free: 4.438 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/1.016, allocations: 148.4 kB / 0.5883 GB, free: 4.262 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/1.016, allocations: 240.8 kB / 0.5885 GB, free: 4.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/1.016, allocations: 25.7 kB / 0.5885 GB, free: 3.992 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/1.016, allocations: 394.4 kB / 0.5889 GB, free: 3.598 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/1.016, allocations: 220.7 kB / 0.5891 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/1.016, allocations: 0 / 0.5891 GB, free: 3.379 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/1.017, allocations: 354.7 kB / 0.5894 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/1.017, allocations: 178 kB / 0.5896 GB, free: 2.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/1.017, allocations: 374.7 kB / 0.59 GB, free: 2.402 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/1.018, allocations: 276.6 kB / 0.5902 GB, free: 2.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.018, allocations: 4 kB / 0.5902 GB, free: 2.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001708/1.02, allocations: 0.8105 MB / 0.591 GB, free: 1.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.02, allocations: 7.984 kB / 0.591 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.02, allocations: 8 kB / 0.591 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/1.021, allocations: 211.3 kB / 0.5912 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/1.021, allocations: 135.8 kB / 0.5914 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/1.027, allocations: 5.853 MB / 0.5971 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/1.027, allocations: 67.3 kB / 0.5971 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/1.027, allocations: 44 kB / 0.5972 GB, free: 10.51 MB / 442.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.0001617/1.028, allocations: 124.7 kB / 0.5973 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.028, allocations: 39.53 kB / 0.5973 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.029, allocations: 0.6679 MB / 0.598 GB, free: 9.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.029, allocations: 8.562 kB / 0.598 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.029, allocations: 4 kB / 0.598 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.029, allocations: 7.984 kB / 0.598 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/1.032, allocations: 1.512 MB / 0.5995 GB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.032, allocations: 0 / 0.5995 GB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/1.032, allocations: 71.91 kB / 0.5996 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005408/1.033, allocations: 219.1 kB / 0.5998 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/1.033, allocations: 4 kB / 0.5998 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/1.038, allocations: 5.83 MB / 0.6055 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.038, allocations: 4 kB / 0.6055 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001786/1.04, allocations: 1.187 MB / 0.6066 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002415/1.043, allocations: 1.819 MB / 0.6084 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/1.043, allocations: 128.4 kB / 0.6085 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/1.043, allocations: 0 / 0.6085 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/1.043, allocations: 8 kB / 0.6085 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/1.043, allocations: 31.86 kB / 0.6086 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/1.043, allocations: 20 kB / 0.6086 GB, free: 14.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002045/1.044, allocations: 181.2 kB / 0.6088 GB, free: 13.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001635/1.045, allocations: 243.1 kB / 0.609 GB, free: 13.71 MB / 458.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.0002653/1.046, allocations: 131.2 kB / 0.6091 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/1.047, allocations: 0.9551 MB / 0.6101 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.047, allocations: 0 / 0.6101 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009086/1.048, allocations: 0.6826 MB / 0.6107 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/1.048, allocations: 23.94 kB / 0.6107 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/1.051, allocations: 0.9557 MB / 0.6117 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/1.051, allocations: 0.9612 MB / 0.6126 GB, free: 9.855 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/1.051, allocations: 0 / 0.6126 GB, free: 9.855 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat