Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 183.6 kB / 8.524 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 85.73 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1637/0.1637, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1946/0.3584, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.4693, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.8122, allocations: 92.29 MB / 0.5843 GB, free: 4.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.8125, allocations: 87.78 kB / 0.5844 GB, free: 4.363 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.06842/0.8809, allocations: 27.5 MB / 0.6113 GB, free: 8.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.881, allocations: 13.19 kB / 0.6113 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.8828, allocations: 242.8 kB / 0.6115 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.8832, allocations: 254.5 kB / 0.6117 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.8834, allocations: 45.98 kB / 0.6118 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.8837, allocations: 67.91 kB / 0.6118 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001529/0.8852, allocations: 0.6327 MB / 0.6125 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.8866, allocations: 0.7561 MB / 0.6132 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.8867, allocations: 4 kB / 0.6132 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.8868, allocations: 11.84 kB / 0.6132 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.8868, allocations: 24 kB / 0.6132 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.8918, allocations: 3.784 MB / 0.6169 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/0.8926, allocations: 0.5646 MB / 0.6175 GB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.893, allocations: 240.1 kB / 0.6177 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.8931, allocations: 101.4 kB / 0.6178 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.8931, allocations: 46.83 kB / 0.6179 GB, free: 1.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.795e-06/0.8931, allocations: 0 / 0.6179 GB, free: 1.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001473/0.8946, allocations: 0.6136 MB / 0.6185 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.8947, allocations: 136.5 kB / 0.6186 GB, free: 460 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.8949, allocations: 248.8 kB / 0.6188 GB, free: 208 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.895, allocations: 25.7 kB / 0.6188 GB, free: 176 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.8952, allocations: 394.5 kB / 0.6192 GB, free: 15.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.8954, allocations: 220.7 kB / 0.6194 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.8954, allocations: 0 / 0.6194 GB, free: 15.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8956, allocations: 346.8 kB / 0.6198 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.8959, allocations: 185.9 kB / 0.6199 GB, free: 15.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.8963, allocations: 374.7 kB / 0.6203 GB, free: 14.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.8969, allocations: 272.6 kB / 0.6206 GB, free: 14.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.897, allocations: 8 kB / 0.6206 GB, free: 14.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001613/0.8986, allocations: 0.8105 MB / 0.6214 GB, free: 13.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8986, allocations: 4 kB / 0.6214 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.8986, allocations: 12.03 kB / 0.6214 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/0.8993, allocations: 211.3 kB / 0.6216 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.8999, allocations: 143.8 kB / 0.6217 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/0.9047, allocations: 5.846 MB / 0.6274 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.9053, allocations: 71.19 kB / 0.6275 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.9054, allocations: 35.98 kB / 0.6275 GB, free: 6.684 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.0001529/0.9056, allocations: 132.8 kB / 0.6277 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.9057, allocations: 43.47 kB / 0.6277 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.9072, allocations: 0.6743 MB / 0.6284 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.9072, allocations: 8 kB / 0.6284 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9072, allocations: 7.984 kB / 0.6284 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.9072, allocations: 0 / 0.6284 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.9097, allocations: 1.5 MB / 0.6298 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9097, allocations: 0 / 0.6298 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.91, allocations: 71.91 kB / 0.6299 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/0.9106, allocations: 211.2 kB / 0.6301 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.9107, allocations: 7.984 kB / 0.6301 GB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.9155, allocations: 5.83 MB / 0.6358 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.9156, allocations: 4 kB / 0.6358 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001779/0.9174, allocations: 1.201 MB / 0.637 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002114/0.9195, allocations: 1.8 MB / 0.6387 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.9197, allocations: 120.5 kB / 0.6389 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.9197, allocations: 8.625 kB / 0.6389 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.9201, allocations: 7.984 kB / 0.6389 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.9202, allocations: 27.95 kB / 0.6389 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.9202, allocations: 20 kB / 0.6389 GB, free: 10.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001825/0.9204, allocations: 177.2 kB / 0.6391 GB, free: 10.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001636/0.9221, allocations: 255 kB / 0.6393 GB, free: 9.895 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.0002452/0.9223, allocations: 131 kB / 0.6395 GB, free: 9.758 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.9237, allocations: 0.967 MB / 0.6404 GB, free: 8.758 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9238, allocations: 0 / 0.6404 GB, free: 8.758 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.9246, allocations: 0.6788 MB / 0.6411 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.925, allocations: 20.5 kB / 0.6411 GB, free: 8.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.9271, allocations: 0.9596 MB / 0.642 GB, free: 7.016 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/0.9278, allocations: 0.9651 MB / 0.643 GB, free: 6.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.044e-06/0.9278, allocations: 0 / 0.643 GB, free: 6.02 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat