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.001336/0.001336, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008728/0.0008728, allocations: 88.61 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1645/0.1645, allocations: 45.14 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.193e-05, allocations: 0 / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08144, allocations: 63.25 MB / 0.5114 GB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4284, allocations: 94.16 MB / 0.6033 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4286, allocations: 82.2 kB / 0.6034 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05759/0.4862, allocations: 28.67 MB / 0.6314 GB, free: 8.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4862, allocations: 0 / 0.6314 GB, free: 8.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.4862, allocations: 16 kB / 0.6314 GB, free: 8.477 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.002517/0.4888, allocations: 1.04 MB / 0.6324 GB, free: 7.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4888, allocations: 11.97 kB / 0.6324 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.4904, allocations: 249.7 kB / 0.6327 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.4908, allocations: 250.6 kB / 0.6329 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.4909, allocations: 80.44 kB / 0.633 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.4912, allocations: 106.3 kB / 0.6331 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.4932, allocations: 0.8969 MB / 0.634 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.4932, allocations: 3.984 kB / 0.634 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/0.4933, allocations: 38.25 kB / 0.634 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.4934, allocations: 28 kB / 0.634 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.4947, allocations: 0.6874 MB / 0.6347 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.4996, allocations: 4.126 MB / 0.6387 GB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.5021, allocations: 3.355 MB / 0.642 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.5025, allocations: 288.1 kB / 0.6423 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.5027, allocations: 178 kB / 0.6425 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5028, allocations: 41.95 kB / 0.6425 GB, free: 13.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 3.697e-06/0.5028, allocations: 0 / 0.6425 GB, free: 13.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001233/0.504, allocations: 0.6146 MB / 0.6431 GB, free: 13.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.5041, allocations: 144.5 kB / 0.6432 GB, free: 13.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.5045, allocations: 283 kB / 0.6435 GB, free: 12.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.5045, allocations: 36.58 kB / 0.6435 GB, free: 12.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.5048, allocations: 401.6 kB / 0.6439 GB, free: 12.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.505, allocations: 228.2 kB / 0.6441 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.505, allocations: 17.5 kB / 0.6442 GB, free: 12.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5052, allocations: 348 kB / 0.6445 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.5055, allocations: 185.2 kB / 0.6447 GB, free: 11.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.5059, allocations: 381.9 kB / 0.645 GB, free: 11.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.5063, allocations: 252 kB / 0.6453 GB, free: 11.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.5063, allocations: 4 kB / 0.6453 GB, free: 11.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001258/0.5076, allocations: 0.853 MB / 0.6461 GB, free: 10.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5076, allocations: 8 kB / 0.6461 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5076, allocations: 8 kB / 0.6461 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.5083, allocations: 222.6 kB / 0.6463 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.5087, allocations: 142.6 kB / 0.6465 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.5134, allocations: 6.203 MB / 0.6525 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.5139, allocations: 91.12 kB / 0.6526 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.514, allocations: 43.92 kB / 0.6527 GB, free: 3.809 MB / 442.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.0001284/0.5141, allocations: 144.8 kB / 0.6528 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5142, allocations: 39.53 kB / 0.6528 GB, free: 3.621 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.5153, allocations: 0.6746 MB / 0.6535 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5154, allocations: 8 kB / 0.6535 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5154, allocations: 4 kB / 0.6535 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5154, allocations: 3.984 kB / 0.6535 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.5176, allocations: 1.563 MB / 0.655 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5176, allocations: 0 / 0.655 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.5178, allocations: 75.86 kB / 0.6551 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.5183, allocations: 211.2 kB / 0.6553 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.5184, allocations: 12 kB / 0.6553 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004451/0.5228, allocations: 6.194 MB / 0.6614 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5229, allocations: 0.8125 kB / 0.6614 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.5243, allocations: 1.199 MB / 0.6625 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5245, allocations: 136.4 kB / 0.6627 GB, free: 8.848 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.5245, allocations: 12 kB / 0.6627 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.5249, allocations: 20.06 kB / 0.6627 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.525, allocations: 59.81 kB / 0.6628 GB, free: 8.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.525, allocations: 19.94 kB / 0.6628 GB, free: 8.738 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00023/0.5252, allocations: 207.1 kB / 0.663 GB, free: 8.535 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5252, allocations: 0 / 0.663 GB, free: 8.535 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009092/0.5261, allocations: 283.2 kB / 0.6632 GB, free: 8.258 MB / 458.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.0002832/0.5264, allocations: 164.5 kB / 0.6634 GB, free: 8.094 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.5278, allocations: 1.06 MB / 0.6644 GB, free: 6.977 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5278, allocations: 0 / 0.6644 GB, free: 6.977 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.5285, allocations: 0.7721 MB / 0.6652 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.5289, allocations: 28.56 kB / 0.6652 GB, free: 6.125 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.5307, allocations: 0.9781 MB / 0.6662 GB, free: 5.109 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.5312, allocations: 0.9384 MB / 0.6671 GB, free: 4.145 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.5315, allocations: 64.55 kB / 0.6672 GB, free: 4.078 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.5316, allocations: 31.44 kB / 0.6672 GB, free: 4.047 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5316, allocations: 0 / 0.6672 GB, free: 4.047 MB / 458.7 MB Notification: Performance of Templates: time 0.01127/0.5429, allocations: 6.269 MB / 0.6733 GB, free: 13.8 MB / 474.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/jenkins/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