Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",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.001063/0.001063, allocations: 199.2 kB / 8.541 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.155/1.155, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008979/0.0008981, allocations: 97.47 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09058/0.09151, allocations: 56.92 MB / 343.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.1736, allocations: 51.47 MB / 394.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.3845, allocations: 88.29 MB / 483 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.3847, allocations: 91.83 kB / 483.1 MB, free: 4.93 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.08696/0.4717, allocations: 38.32 MB / 0.5092 GB, free: 3.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4717, allocations: 8 kB / 0.5092 GB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.4751, allocations: 0.4902 MB / 0.5097 GB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.4754, allocations: 297.6 kB / 0.51 GB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.4755, allocations: 40 kB / 0.51 GB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.4757, allocations: 83.98 kB / 0.5101 GB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001989/0.4777, allocations: 1.02 MB / 0.5111 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.4796, allocations: 1.037 MB / 0.5121 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.4796, allocations: 4 kB / 0.5121 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/0.4797, allocations: 0 / 0.5121 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.4798, allocations: 32 kB / 0.5121 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006743/0.4865, allocations: 4.149 MB / 0.5162 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.4874, allocations: 0.505 MB / 0.5167 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.4882, allocations: 0.4925 MB / 0.5172 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.4884, allocations: 191.2 kB / 0.5173 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4885, allocations: 47.5 kB / 0.5174 GB, free: 10.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 2.565e-06/0.4885, allocations: 0 / 0.5174 GB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.006353/0.4948, allocations: 2.409 MB / 0.5197 GB, free: 8.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4949, allocations: 94.11 kB / 0.5198 GB, free: 8.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.4952, allocations: 309.8 kB / 0.5201 GB, free: 8.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.4953, allocations: 25.7 kB / 0.5202 GB, free: 8.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.4955, allocations: 438.8 kB / 0.5206 GB, free: 7.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.4958, allocations: 405.9 kB / 0.521 GB, free: 7.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.4959, allocations: 0 / 0.521 GB, free: 7.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.496, allocations: 366.8 kB / 0.5213 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.4966, allocations: 332 kB / 0.5216 GB, free: 6.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/0.4974, allocations: 0.593 MB / 0.5222 GB, free: 5.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.4985, allocations: 458.1 kB / 0.5226 GB, free: 5.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4985, allocations: 13.88 kB / 0.5227 GB, free: 5.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002542/0.5011, allocations: 1.226 MB / 0.5239 GB, free: 4.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5011, allocations: 4 kB / 0.5239 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5011, allocations: 8 kB / 0.5239 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.5017, allocations: 189.5 kB / 0.524 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5031, allocations: 307.6 kB / 0.5243 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.5069, allocations: 3.73 MB / 0.528 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.5079, allocations: 72.02 kB / 0.528 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5081, allocations: 55.97 kB / 0.5281 GB, free: 15.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.5083, allocations: 142.6 kB / 0.5282 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.5084, allocations: 63.25 kB / 0.5283 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.511, allocations: 1.15 MB / 0.5294 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.511, allocations: 15.98 kB / 0.5294 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.511, allocations: 8 kB / 0.5294 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.511, allocations: 7.969 kB / 0.5294 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/0.515, allocations: 2.24 MB / 0.5316 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.515, allocations: 0 / 0.5316 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.5162, allocations: 231.9 kB / 0.5319 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.5167, allocations: 160.2 kB / 0.532 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/0.5168, allocations: 15.92 kB / 0.532 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.5201, allocations: 3.539 MB / 0.5355 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5201, allocations: 0 / 0.5355 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002878/0.523, allocations: 1.661 MB / 0.5371 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003698/0.5267, allocations: 2.517 MB / 0.5396 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.5271, allocations: 228.2 kB / 0.5398 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5272, allocations: 8 kB / 0.5398 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/0.528, allocations: 60 kB / 0.5398 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.5282, allocations: 76.73 kB / 0.5399 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.5283, allocations: 35.98 kB / 0.54 GB, free: 2.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002231/0.5285, allocations: 236.6 kB / 0.5402 GB, free: 2.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001633/0.5301, allocations: 284.2 kB / 0.5404 GB, free: 2.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002776/0.5304, allocations: 170.6 kB / 0.5406 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.5322, allocations: 1.173 MB / 0.5418 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5323, allocations: 4.062 kB / 0.5418 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.5333, allocations: 0.7008 MB / 0.5424 GB, free: 284 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.5336, allocations: 29.77 kB / 0.5425 GB, free: 256 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.537, allocations: 1.369 MB / 0.5438 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009381/0.538, allocations: 1.129 MB / 0.5449 GB, free: 13.67 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.538, allocations: 0 / 0.5449 GB, free: 13.67 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat