Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009334/0.0009334, allocations: 190.8 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008105/0.0008105, allocations: 94.97 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3102/0.3102, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002407/0.0002407, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2741, allocations: 62.96 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.378, allocations: 94.09 MB / 0.6084 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3783, allocations: 87.95 kB / 0.6085 GB, free: 11.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05894/0.4372, allocations: 28.67 MB / 0.6365 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4373, allocations: 0 / 0.6365 GB, free: 14.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.4373, allocations: 16 kB / 0.6365 GB, free: 14.15 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.002268/0.4396, allocations: 1.05 MB / 0.6375 GB, free: 13.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4396, allocations: 16.03 kB / 0.6375 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.4411, allocations: 243.7 kB / 0.6377 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4413, allocations: 266 kB / 0.638 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.4414, allocations: 78.48 kB / 0.6381 GB, free: 12.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.4416, allocations: 112.2 kB / 0.6382 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.443, allocations: 0.9282 MB / 0.6391 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.443, allocations: 0 / 0.6391 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.4431, allocations: 40 kB / 0.6391 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.4432, allocations: 24 kB / 0.6391 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.4444, allocations: 0.7222 MB / 0.6399 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.4488, allocations: 4.115 MB / 0.6439 GB, free: 6.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.451, allocations: 3.379 MB / 0.6472 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.4514, allocations: 284.5 kB / 0.6474 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.4515, allocations: 186.5 kB / 0.6476 GB, free: 1.555 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4516, allocations: 42.83 kB / 0.6477 GB, free: 1.504 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 2.364e-06/0.4516, allocations: 0 / 0.6477 GB, free: 1.504 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002462/0.454, allocations: 1.331 MB / 0.649 GB, free: 84 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.4541, allocations: 136.5 kB / 0.6491 GB, free: 15.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.4545, allocations: 314.8 kB / 0.6494 GB, free: 15.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.4546, allocations: 41.7 kB / 0.6494 GB, free: 15.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.4548, allocations: 394.4 kB / 0.6498 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.455, allocations: 232.6 kB / 0.65 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.455, allocations: 20 kB / 0.65 GB, free: 14.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4551, allocations: 350.8 kB / 0.6504 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.4555, allocations: 193.9 kB / 0.6506 GB, free: 14.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.456, allocations: 400.6 kB / 0.6509 GB, free: 13.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.4568, allocations: 0.6158 MB / 0.6515 GB, free: 13.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4568, allocations: 3.938 kB / 0.6516 GB, free: 13.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001439/0.4582, allocations: 0.8774 MB / 0.6524 GB, free: 12.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4583, allocations: 8 kB / 0.6524 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4583, allocations: 7.938 kB / 0.6524 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/0.4589, allocations: 223.5 kB / 0.6526 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.4594, allocations: 143.8 kB / 0.6528 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005096/0.4645, allocations: 6.229 MB / 0.6589 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.465, allocations: 87.19 kB / 0.6589 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.4651, allocations: 43.98 kB / 0.659 GB, free: 5.023 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.0003407/0.4654, allocations: 217.6 kB / 0.6592 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4655, allocations: 39.53 kB / 0.6592 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4667, allocations: 0.6846 MB / 0.6599 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4667, allocations: 8 kB / 0.6599 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4667, allocations: 4 kB / 0.6599 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.4668, allocations: 3.984 kB / 0.6599 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.469, allocations: 1.57 MB / 0.6614 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.469, allocations: 0 / 0.6614 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.4693, allocations: 71.91 kB / 0.6615 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/0.4698, allocations: 219.2 kB / 0.6617 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4698, allocations: 12 kB / 0.6617 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004817/0.4747, allocations: 6.209 MB / 0.6678 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4747, allocations: 7.969 kB / 0.6678 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.4761, allocations: 1.175 MB / 0.669 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.4763, allocations: 124.5 kB / 0.6691 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.4763, allocations: 12 kB / 0.6691 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.4766, allocations: 24.05 kB / 0.6691 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.4767, allocations: 59.8 kB / 0.6692 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.4768, allocations: 16 kB / 0.6692 GB, free: 9.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.477, allocations: 210 kB / 0.6694 GB, free: 9.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.477, allocations: 0 / 0.6694 GB, free: 9.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000935/0.478, allocations: 291.1 kB / 0.6697 GB, free: 9.395 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.0002459/0.4782, allocations: 148.4 kB / 0.6698 GB, free: 9.238 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.4797, allocations: 1.08 MB / 0.6709 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4797, allocations: 0 / 0.6709 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.4805, allocations: 0.7877 MB / 0.6716 GB, free: 7.266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.4811, allocations: 36.94 kB / 0.6717 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.4833, allocations: 1.641 MB / 0.6733 GB, free: 5.547 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.4838, allocations: 0.915 MB / 0.6742 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.4839, allocations: 47.36 kB / 0.6742 GB, free: 4.555 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4839, allocations: 0 / 0.6742 GB, free: 4.555 MB / 490.7 MB Notification: Performance of Templates: time 0.1968/0.6807, allocations: 19.36 MB / 0.6931 GB, free: 113.7 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches