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.00142/0.00142, allocations: 177 kB / 17.06 MB, free: 5.094 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.448/1.448, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 89.7 kB / 292.1 MB, free: 10.94 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.4075/0.4075, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4044, allocations: 61.91 MB / 0.5096 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.537, allocations: 93.1 MB / 0.6006 GB, free: 2.016 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.5373, allocations: 91.91 kB / 0.6007 GB, free: 1.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06074/0.5981, allocations: 27.18 MB / 0.6272 GB, free: 6.395 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5981, allocations: 0 / 0.6272 GB, free: 6.395 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.5982, allocations: 16 kB / 0.6272 GB, free: 6.379 MB / 442.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.002577/0.6008, allocations: 1.061 MB / 0.6282 GB, free: 5.266 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.6008, allocations: 12.03 kB / 0.6283 GB, free: 5.254 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/0.601, allocations: 148.2 kB / 0.6284 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.6024, allocations: 226.8 kB / 0.6286 GB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.6026, allocations: 256.1 kB / 0.6289 GB, free: 4.586 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.6028, allocations: 81.98 kB / 0.6289 GB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.6029, allocations: 100 kB / 0.629 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.6043, allocations: 0.9204 MB / 0.6299 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.6044, allocations: 3.906 kB / 0.6299 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.6045, allocations: 44 kB / 0.63 GB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.6045, allocations: 24 kB / 0.63 GB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.6057, allocations: 0.7222 MB / 0.6307 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005042/0.6108, allocations: 3.952 MB / 0.6346 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.6139, allocations: 3.366 MB / 0.6379 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.614, allocations: 97.42 kB / 0.6379 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.6141, allocations: 46.81 kB / 0.638 GB, free: 10.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 3.557e-06/0.6141, allocations: 0 / 0.638 GB, free: 10.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002596/0.6167, allocations: 1.321 MB / 0.6393 GB, free: 8.793 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.6168, allocations: 136.5 kB / 0.6394 GB, free: 8.629 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.6172, allocations: 282 kB / 0.6397 GB, free: 8.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.6172, allocations: 33.7 kB / 0.6397 GB, free: 8.309 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.6175, allocations: 398.4 kB / 0.6401 GB, free: 7.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.6177, allocations: 244.6 kB / 0.6403 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.6178, allocations: 16 kB / 0.6403 GB, free: 7.652 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.6179, allocations: 346.8 kB / 0.6407 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.6183, allocations: 201.8 kB / 0.6409 GB, free: 7.109 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.6188, allocations: 388.6 kB / 0.6412 GB, free: 6.652 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.6192, allocations: 262.9 kB / 0.6415 GB, free: 6.398 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6192, allocations: 0 / 0.6415 GB, free: 6.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001405/0.6206, allocations: 0.8732 MB / 0.6423 GB, free: 5.504 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6207, allocations: 8 kB / 0.6423 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6207, allocations: 8.5 kB / 0.6424 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.6213, allocations: 223.3 kB / 0.6426 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.6218, allocations: 143.8 kB / 0.6427 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.627, allocations: 6.304 MB / 0.6489 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006031/0.6276, allocations: 87.06 kB / 0.6489 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.6277, allocations: 32 kB / 0.649 GB, free: 14.16 MB / 474.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 () * Number of clocked 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.0004808/0.6282, allocations: 234.8 kB / 0.6492 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.6283, allocations: 39.53 kB / 0.6492 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6296, allocations: 0.6782 MB / 0.6499 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.6296, allocations: 11.98 kB / 0.6499 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6297, allocations: 4 kB / 0.6499 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.6297, allocations: 7.984 kB / 0.6499 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.6321, allocations: 1.555 MB / 0.6514 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6321, allocations: 0 / 0.6514 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.6323, allocations: 75.91 kB / 0.6515 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005525/0.6329, allocations: 219.8 kB / 0.6517 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.633, allocations: 16 kB / 0.6517 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005605/0.6386, allocations: 6.288 MB / 0.6579 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.6386, allocations: 7.969 kB / 0.6579 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.6405, allocations: 1.21 MB / 0.6591 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.6407, allocations: 136.3 kB / 0.6592 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.6408, allocations: 12 kB / 0.6592 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.6411, allocations: 16 kB / 0.6592 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.6412, allocations: 51.92 kB / 0.6593 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.6413, allocations: 20.06 kB / 0.6593 GB, free: 2.883 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.6417, allocations: 213.9 kB / 0.6595 GB, free: 2.672 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.33e-06/0.6417, allocations: 0 / 0.6595 GB, free: 2.672 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00146/0.6432, allocations: 287.1 kB / 0.6598 GB, free: 2.391 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 () * Number of clocked 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.002185/0.6453, allocations: 2.001 MB / 0.6617 GB, free: 348 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.6471, allocations: 1.071 MB / 0.6628 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6471, allocations: 0 / 0.6628 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.648, allocations: 0.7787 MB / 0.6635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.6484, allocations: 53.69 kB / 0.6636 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006802/0.6552, allocations: 7.099 MB / 0.6705 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.6558, allocations: 0.923 MB / 0.6714 GB, free: 6.105 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.6561, allocations: 68.53 kB / 0.6715 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.6563, allocations: 235.3 kB / 0.6717 GB, free: 5.805 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6563, allocations: 0 / 0.6717 GB, free: 5.805 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.321/0.9773, allocations: 10.68 MB / 0.6821 GB, free: 116.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.9777, allocations: 218 kB / 0.6823 GB, free: 116.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.24, allocations: 4 kB / 0.6823 GB, free: 116.1 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