Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.2 MB / 245 MB, free: 7.656 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009057/0.000906, allocations: 95.23 kB / 297.2 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4027/0.4027, allocations: 45.24 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.000269, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4008, allocations: 63.23 MB / 0.5193 GB, free: 43.63 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.5319, allocations: 94.24 MB / 0.6113 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5322, allocations: 87.92 kB / 0.6114 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0637/0.5959, allocations: 28.74 MB / 0.6394 GB, free: 14.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5959, allocations: 3.938 kB / 0.6394 GB, free: 14.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.5959, allocations: 16 kB / 0.6395 GB, free: 14.21 MB / 458.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.002497/0.5985, allocations: 1.077 MB / 0.6405 GB, free: 13.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5985, allocations: 8.031 kB / 0.6405 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.5987, allocations: 148.2 kB / 0.6407 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.6003, allocations: 250.7 kB / 0.6409 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.6006, allocations: 256 kB / 0.6411 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.6007, allocations: 78 kB / 0.6412 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.6008, allocations: 99.98 kB / 0.6413 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.6024, allocations: 0.9204 MB / 0.6422 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.6024, allocations: 7.906 kB / 0.6422 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.6025, allocations: 40 kB / 0.6423 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.6025, allocations: 24 kB / 0.6423 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6037, allocations: 0.7222 MB / 0.643 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.6089, allocations: 4.111 MB / 0.647 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.6115, allocations: 3.371 MB / 0.6503 GB, free: 1.973 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.6117, allocations: 186.5 kB / 0.6505 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.6117, allocations: 42.83 kB / 0.6505 GB, free: 1.703 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 2.675e-06/0.6117, allocations: 0 / 0.6505 GB, free: 1.703 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002594/0.6143, allocations: 1.32 MB / 0.6518 GB, free: 304 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.6144, allocations: 148.5 kB / 0.6519 GB, free: 124 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.6148, allocations: 274.1 kB / 0.6522 GB, free: 15.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.6149, allocations: 37.7 kB / 0.6522 GB, free: 15.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.6151, allocations: 394.4 kB / 0.6526 GB, free: 15.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.6153, allocations: 232.6 kB / 0.6528 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.6153, allocations: 20 kB / 0.6529 GB, free: 15.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6155, allocations: 354.8 kB / 0.6532 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.6158, allocations: 193.9 kB / 0.6534 GB, free: 14.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.6163, allocations: 396.6 kB / 0.6538 GB, free: 14.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.6167, allocations: 255.2 kB / 0.654 GB, free: 13.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6168, allocations: 4 kB / 0.654 GB, free: 13.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001414/0.6182, allocations: 0.871 MB / 0.6549 GB, free: 13.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6182, allocations: 8 kB / 0.6549 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6182, allocations: 8 kB / 0.6549 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.6189, allocations: 227.5 kB / 0.6551 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.6193, allocations: 143.7 kB / 0.6552 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005415/0.6248, allocations: 6.304 MB / 0.6614 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.6253, allocations: 87.05 kB / 0.6615 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.6254, allocations: 36 kB / 0.6615 GB, free: 5.66 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.0003751/0.6258, allocations: 219.5 kB / 0.6617 GB, free: 5.438 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.6259, allocations: 39.53 kB / 0.6617 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.6271, allocations: 0.6935 MB / 0.6624 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6272, allocations: 8 kB / 0.6624 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.6272, allocations: 8 kB / 0.6624 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.6272, allocations: 0 / 0.6624 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.6296, allocations: 1.559 MB / 0.664 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6296, allocations: 3.938 kB / 0.664 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.6299, allocations: 71.86 kB / 0.664 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005373/0.6304, allocations: 219.2 kB / 0.6642 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.6305, allocations: 12 kB / 0.6643 GB, free: 2.727 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005365/0.6358, allocations: 6.292 MB / 0.6704 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6359, allocations: 0 / 0.6704 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.6375, allocations: 1.215 MB / 0.6716 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.6376, allocations: 132.5 kB / 0.6717 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.6377, allocations: 12 kB / 0.6717 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.638, allocations: 15.98 kB / 0.6717 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.6381, allocations: 56.77 kB / 0.6718 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.6382, allocations: 23.98 kB / 0.6718 GB, free: 10.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.6384, allocations: 214 kB / 0.672 GB, free: 10.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6385, allocations: 0 / 0.672 GB, free: 10.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001086/0.6395, allocations: 287.1 kB / 0.6723 GB, free: 9.895 MB / 490.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.002145/0.6417, allocations: 2.012 MB / 0.6743 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.6433, allocations: 1.068 MB / 0.6753 GB, free: 6.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6434, allocations: 0 / 0.6753 GB, free: 6.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.6443, allocations: 0.7798 MB / 0.6761 GB, free: 5.875 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.6447, allocations: 37.8 kB / 0.6761 GB, free: 5.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.6515, allocations: 7.11 MB / 0.683 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.6521, allocations: 0.9231 MB / 0.6839 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.6524, allocations: 72.52 kB / 0.684 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.6527, allocations: 231.4 kB / 0.6842 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.6528, allocations: 4 kB / 0.6842 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.6792, allocations: 10.73 MB / 0.6947 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.6794, allocations: 222.7 kB / 0.6949 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.178, allocations: 0 / 0.6949 GB, free: 2.586 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat