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: 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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.317/1.317, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008832/0.0008832, allocations: 90.02 kB / 292.2 MB, free: 10.91 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.3549/0.3549, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 8 kB / 459.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4175, allocations: 61.9 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.5481, allocations: 93.11 MB / 0.6005 GB, free: 1.996 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5484, allocations: 87.92 kB / 0.6006 GB, free: 1.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05805/0.6064, allocations: 27.18 MB / 0.6271 GB, free: 6.379 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6065, allocations: 0 / 0.6271 GB, free: 6.379 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.6065, allocations: 12 kB / 0.6271 GB, free: 6.367 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.00228/0.6088, allocations: 1.061 MB / 0.6282 GB, free: 5.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6088, allocations: 8.031 kB / 0.6282 GB, free: 5.246 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.6102, allocations: 230.8 kB / 0.6284 GB, free: 5.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.6104, allocations: 262.5 kB / 0.6286 GB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.6105, allocations: 70 kB / 0.6287 GB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6107, allocations: 100 kB / 0.6288 GB, free: 4.555 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.6121, allocations: 0.9204 MB / 0.6297 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.6121, allocations: 7.906 kB / 0.6297 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/0.6122, allocations: 40 kB / 0.6298 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.6122, allocations: 31.98 kB / 0.6298 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.6134, allocations: 0.7245 MB / 0.6305 GB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.6184, allocations: 3.952 MB / 0.6343 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.6209, allocations: 3.369 MB / 0.6376 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.621, allocations: 97.41 kB / 0.6377 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.621, allocations: 42.83 kB / 0.6378 GB, free: 10.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.621, allocations: 0 / 0.6378 GB, free: 10.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002539/0.6236, allocations: 1.32 MB / 0.6391 GB, free: 8.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.6237, allocations: 132.5 kB / 0.6392 GB, free: 8.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.624, allocations: 286 kB / 0.6395 GB, free: 8.484 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.6241, allocations: 45.64 kB / 0.6395 GB, free: 8.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.6243, allocations: 394.4 kB / 0.6399 GB, free: 8.039 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.6245, allocations: 232.7 kB / 0.6401 GB, free: 7.809 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.6245, allocations: 16 kB / 0.6401 GB, free: 7.793 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6246, allocations: 350.8 kB / 0.6405 GB, free: 7.441 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.6249, allocations: 193.9 kB / 0.6406 GB, free: 7.254 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.6254, allocations: 404.5 kB / 0.641 GB, free: 6.781 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.6258, allocations: 247 kB / 0.6413 GB, free: 6.543 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.6258, allocations: 11.95 kB / 0.6413 GB, free: 6.531 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001334/0.6272, allocations: 0.866 MB / 0.6421 GB, free: 5.645 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6272, allocations: 15.95 kB / 0.6421 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6272, allocations: 8 kB / 0.6421 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.6278, allocations: 219.2 kB / 0.6423 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.6283, allocations: 139.8 kB / 0.6425 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004924/0.6332, allocations: 6.311 MB / 0.6486 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.6337, allocations: 87.05 kB / 0.6487 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.6338, allocations: 36.06 kB / 0.6488 GB, free: 14.29 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.0003457/0.6341, allocations: 225.5 kB / 0.649 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.6343, allocations: 39.53 kB / 0.649 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.6354, allocations: 0.6829 MB / 0.6497 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.6355, allocations: 11.98 kB / 0.6497 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6355, allocations: 4 kB / 0.6497 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.6355, allocations: 3.984 kB / 0.6497 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.6377, allocations: 1.567 MB / 0.6512 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6377, allocations: 0.9375 kB / 0.6512 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.638, allocations: 67.91 kB / 0.6513 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.6385, allocations: 219.2 kB / 0.6515 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.6386, allocations: 12 kB / 0.6515 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/0.6443, allocations: 6.292 MB / 0.6577 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.6443, allocations: 3.938 kB / 0.6577 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.6463, allocations: 1.21 MB / 0.6588 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.6465, allocations: 132.5 kB / 0.659 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.6466, allocations: 12 kB / 0.659 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.6469, allocations: 15.94 kB / 0.659 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.647, allocations: 55.98 kB / 0.6591 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.6471, allocations: 20 kB / 0.6591 GB, free: 3.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003166/0.6474, allocations: 209.9 kB / 0.6593 GB, free: 2.812 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6474, allocations: 4 kB / 0.6593 GB, free: 2.809 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001247/0.6487, allocations: 275.1 kB / 0.6595 GB, free: 2.539 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.0003242/0.649, allocations: 148.5 kB / 0.6597 GB, free: 2.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.6508, allocations: 1.08 MB / 0.6607 GB, free: 1.258 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6508, allocations: 0 / 0.6607 GB, free: 1.258 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.6517, allocations: 0.776 MB / 0.6615 GB, free: 440 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.6521, allocations: 41.83 kB / 0.6615 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.6547, allocations: 1.612 MB / 0.6631 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.6553, allocations: 0.9191 MB / 0.664 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.6556, allocations: 68.53 kB / 0.6641 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.6557, allocations: 35.42 kB / 0.6641 GB, free: 13.69 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6557, allocations: 3.938 kB / 0.6641 GB, free: 13.69 MB / 490.7 MB Notification: Performance of Templates: time 0.0117/0.6674, allocations: 6.147 MB / 0.6701 GB, free: 7.566 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches