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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 236 MB, free: 2.988 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.0009102/0.0009104, allocations: 87.19 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.643e-05, allocations: 224 / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4176/0.5319, allocations: 93.04 MB / 0.5927 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5323, allocations: 79.95 kB / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06095/0.5932, allocations: 27.11 MB / 0.6192 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5933, allocations: 4 kB / 0.6192 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.5933, allocations: 16 kB / 0.6192 GB, free: 0.6953 MB / 426.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.002505/0.5958, allocations: 1.025 MB / 0.6202 GB, free: 15.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5959, allocations: 8.031 kB / 0.6202 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.596, allocations: 152.2 kB / 0.6204 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.5974, allocations: 226.8 kB / 0.6206 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.5977, allocations: 262.4 kB / 0.6209 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.5978, allocations: 85.94 kB / 0.6209 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.598, allocations: 103.8 kB / 0.621 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.5996, allocations: 0.8929 MB / 0.6219 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.5996, allocations: 3.984 kB / 0.6219 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.5997, allocations: 40 kB / 0.6219 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.5997, allocations: 24 kB / 0.622 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.6009, allocations: 0.6865 MB / 0.6226 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/0.6062, allocations: 3.955 MB / 0.6265 GB, free: 8.797 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.6095, allocations: 3.374 MB / 0.6298 GB, free: 4.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.61, allocations: 279.6 kB / 0.6301 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.6101, allocations: 93.42 kB / 0.6302 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.6102, allocations: 42.83 kB / 0.6302 GB, free: 4.332 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 4.439e-06/0.6102, allocations: 0 / 0.6302 GB, free: 4.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001301/0.6115, allocations: 0.6127 MB / 0.6308 GB, free: 3.703 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.6117, allocations: 144.5 kB / 0.6309 GB, free: 3.531 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.6121, allocations: 287.1 kB / 0.6312 GB, free: 3.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.6121, allocations: 33.7 kB / 0.6312 GB, free: 3.203 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.6124, allocations: 398.4 kB / 0.6316 GB, free: 2.805 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.6126, allocations: 228.7 kB / 0.6318 GB, free: 2.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.6127, allocations: 16 kB / 0.6319 GB, free: 2.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.6129, allocations: 350.8 kB / 0.6322 GB, free: 2.211 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.6132, allocations: 182 kB / 0.6324 GB, free: 2.035 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.6137, allocations: 380.7 kB / 0.6327 GB, free: 1.582 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.6142, allocations: 255 kB / 0.633 GB, free: 1.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6142, allocations: 4 kB / 0.633 GB, free: 1.328 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001453/0.6156, allocations: 0.854 MB / 0.6338 GB, free: 464 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.6157, allocations: 13.39 kB / 0.6338 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.6157, allocations: 8 kB / 0.6338 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.6164, allocations: 223.5 kB / 0.634 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.6169, allocations: 139.8 kB / 0.6342 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.6226, allocations: 6.205 MB / 0.6402 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.6233, allocations: 87.69 kB / 0.6403 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.6233, allocations: 35.98 kB / 0.6403 GB, free: 9.203 MB / 458.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.0001774/0.6235, allocations: 148.8 kB / 0.6405 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6237, allocations: 39.53 kB / 0.6405 GB, free: 9.012 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.6249, allocations: 0.6868 MB / 0.6412 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6249, allocations: 8 kB / 0.6412 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.625, allocations: 7.938 kB / 0.6412 GB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.625, allocations: 3.984 kB / 0.6412 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.6274, allocations: 1.555 MB / 0.6427 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6274, allocations: 3.984 kB / 0.6427 GB, free: 6.656 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.6277, allocations: 63.92 kB / 0.6428 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.6282, allocations: 223.2 kB / 0.643 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.6283, allocations: 12 kB / 0.643 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00516/0.6334, allocations: 6.206 MB / 0.6491 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6335, allocations: 0 / 0.6491 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.635, allocations: 1.195 MB / 0.6503 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.6352, allocations: 132.5 kB / 0.6504 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.6352, allocations: 12 kB / 0.6504 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.6356, allocations: 16 kB / 0.6504 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.6357, allocations: 51.92 kB / 0.6505 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.6357, allocations: 16 kB / 0.6505 GB, free: 14.13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.636, allocations: 207.1 kB / 0.6507 GB, free: 13.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.636, allocations: 0 / 0.6507 GB, free: 13.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001032/0.637, allocations: 279.2 kB / 0.6509 GB, free: 13.65 MB / 474.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.002013/0.639, allocations: 1.999 MB / 0.6529 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.6407, allocations: 1.055 MB / 0.6539 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6407, allocations: 0 / 0.6539 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.6416, allocations: 0.7639 MB / 0.6547 GB, free: 9.684 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.642, allocations: 40.44 kB / 0.6547 GB, free: 9.645 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.6444, allocations: 1.1 MB / 0.6558 GB, free: 8.492 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.645, allocations: 0.9307 MB / 0.6567 GB, free: 7.535 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.6453, allocations: 68.53 kB / 0.6567 GB, free: 7.465 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.6456, allocations: 227.4 kB / 0.657 GB, free: 7.242 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6456, allocations: 0 / 0.657 GB, free: 7.242 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.672, allocations: 10.99 MB / 0.6677 GB, free: 12.41 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.6722, allocations: 196.5 kB / 0.6679 GB, free: 12.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/2.967, allocations: 4 kB / 0.6679 GB, free: 12.18 MB / 490.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