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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009852/0.0009853, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 226.5 MB / 245.4 MB, free: 8.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007349/0.0007349, allocations: 100.6 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3571/0.3571, allocations: 44.81 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002862, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4018, allocations: 62.97 MB / 0.5184 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.5393, allocations: 94.1 MB / 0.6103 GB, free: 11.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.5397, allocations: 87.94 kB / 0.6104 GB, free: 11.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0667/0.6064, allocations: 28.65 MB / 0.6384 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6064, allocations: 0 / 0.6384 GB, free: 14.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.6065, allocations: 20 kB / 0.6384 GB, free: 14.08 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.003178/0.6097, allocations: 1.057 MB / 0.6394 GB, free: 12.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.6097, allocations: 8.031 kB / 0.6394 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.6114, allocations: 247.7 kB / 0.6397 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.6118, allocations: 253.7 kB / 0.6399 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.6119, allocations: 86.5 kB / 0.64 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.6122, allocations: 100.3 kB / 0.6401 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.6141, allocations: 0.9281 MB / 0.641 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.6142, allocations: 7.938 kB / 0.641 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.6143, allocations: 40 kB / 0.6411 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.6143, allocations: 27.98 kB / 0.6411 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6158, allocations: 0.7222 MB / 0.6418 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.6216, allocations: 4.122 MB / 0.6458 GB, free: 6.008 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.6243, allocations: 3.377 MB / 0.6491 GB, free: 1.984 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.6248, allocations: 284.5 kB / 0.6494 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.625, allocations: 178.5 kB / 0.6496 GB, free: 1.484 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6251, allocations: 42.83 kB / 0.6496 GB, free: 1.434 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 3.878e-06/0.6251, allocations: 0 / 0.6496 GB, free: 1.434 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002713/0.6278, allocations: 1.331 MB / 0.6509 GB, free: 12 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6279, allocations: 140.5 kB / 0.651 GB, free: 15.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.6284, allocations: 314.8 kB / 0.6513 GB, free: 15.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.6284, allocations: 37.7 kB / 0.6514 GB, free: 15.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.6287, allocations: 398.4 kB / 0.6517 GB, free: 15.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.6289, allocations: 232.6 kB / 0.652 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.629, allocations: 16 kB / 0.652 GB, free: 14.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6291, allocations: 354.8 kB / 0.6523 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.6295, allocations: 193.9 kB / 0.6525 GB, free: 14.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.63, allocations: 394.3 kB / 0.6529 GB, free: 13.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/0.6309, allocations: 0.6158 MB / 0.6535 GB, free: 13.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.6309, allocations: 11.88 kB / 0.6535 GB, free: 13.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001535/0.6325, allocations: 0.8693 MB / 0.6543 GB, free: 12.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6325, allocations: 4.562 kB / 0.6543 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6325, allocations: 15.94 kB / 0.6544 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006545/0.6332, allocations: 219.3 kB / 0.6546 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.6337, allocations: 143.8 kB / 0.6547 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005696/0.6394, allocations: 6.226 MB / 0.6608 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.6399, allocations: 98.98 kB / 0.6609 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.64, allocations: 28.09 kB / 0.6609 GB, free: 4.965 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.0004152/0.6404, allocations: 236.8 kB / 0.6611 GB, free: 4.727 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.6406, allocations: 39.53 kB / 0.6612 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.6418, allocations: 0.6832 MB / 0.6618 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6418, allocations: 8 kB / 0.6618 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.6419, allocations: 4 kB / 0.6618 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.6419, allocations: 4 kB / 0.6619 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.6444, allocations: 1.57 MB / 0.6634 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6445, allocations: 8 kB / 0.6634 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.6447, allocations: 63.91 kB / 0.6635 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005338/0.6452, allocations: 215.2 kB / 0.6637 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.6453, allocations: 20 kB / 0.6637 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.6506, allocations: 6.209 MB / 0.6697 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6507, allocations: 3.938 kB / 0.6697 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.6522, allocations: 1.174 MB / 0.6709 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.6524, allocations: 132.5 kB / 0.671 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.6525, allocations: 12 kB / 0.671 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.6528, allocations: 12 kB / 0.671 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.653, allocations: 59.8 kB / 0.6711 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.653, allocations: 20 kB / 0.6711 GB, free: 9.816 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.6533, allocations: 214 kB / 0.6713 GB, free: 9.605 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6533, allocations: 0 / 0.6713 GB, free: 9.605 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001112/0.6544, allocations: 287.1 kB / 0.6716 GB, free: 9.324 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.0003245/0.6547, allocations: 164.3 kB / 0.6718 GB, free: 9.152 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.6564, allocations: 1.071 MB / 0.6728 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6564, allocations: 1 kB / 0.6728 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009253/0.6574, allocations: 0.7837 MB / 0.6736 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.6581, allocations: 44.55 kB / 0.6736 GB, free: 7.148 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.6609, allocations: 1.616 MB / 0.6752 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.6616, allocations: 0.9114 MB / 0.6761 GB, free: 4.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000368/0.662, allocations: 68.53 kB / 0.6761 GB, free: 4.488 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.6621, allocations: 39.38 kB / 0.6762 GB, free: 4.449 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6621, allocations: 3.938 kB / 0.6762 GB, free: 4.445 MB / 490.7 MB Notification: Performance of Templates: time 0.2491/0.9113, allocations: 6.189 MB / 0.6822 GB, free: 115.1 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches