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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001609, allocations: 187.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 243.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3629, allocations: 60.84 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00542/0.3684, allocations: 5.312 MB / 0.5248 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.3712, allocations: 1.585 MB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.3714, allocations: 19.38 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.3747, allocations: 1.585 MB / 0.5279 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008599/0.3756, allocations: 306.6 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.377, allocations: 0.6832 MB / 0.5288 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.378, allocations: 0.7979 MB / 0.5296 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.3792, allocations: 0.7309 MB / 0.5303 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.3797, allocations: 340.2 kB / 0.5307 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.3804, allocations: 457.9 kB / 0.5311 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.3806, allocations: 82.14 kB / 0.5312 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.3812, allocations: 191 kB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3814, allocations: 179 kB / 0.5315 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.382, allocations: 423.5 kB / 0.5319 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.3835, allocations: 1.158 MB / 0.5331 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3835, allocations: 0 / 0.5331 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3835, allocations: 0 / 0.5331 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.049e-05/0.3835, allocations: 0 / 0.5331 GB, free: 10.27 MB / 398.1 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.003849/0.3874, allocations: 1.348 MB / 0.5344 GB, free: 9.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3874, allocations: 7.938 kB / 0.5344 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3889, allocations: 227.3 kB / 0.5346 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.3893, allocations: 262.2 kB / 0.5348 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.3894, allocations: 77.94 kB / 0.5349 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.3896, allocations: 104.8 kB / 0.535 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.3912, allocations: 0.9308 MB / 0.5359 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.3912, allocations: 2.188 kB / 0.5359 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.3913, allocations: 40.75 kB / 0.536 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.3914, allocations: 27.77 kB / 0.536 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.3929, allocations: 0.7229 MB / 0.5367 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005941/0.3988, allocations: 3.904 MB / 0.5405 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.4021, allocations: 3.375 MB / 0.5438 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.4026, allocations: 304.6 kB / 0.5441 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.4027, allocations: 97.2 kB / 0.5442 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.4028, allocations: 43.55 kB / 0.5442 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.767e-06/0.4028, allocations: 0 / 0.5442 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003043/0.4058, allocations: 1.333 MB / 0.5455 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.4059, allocations: 135.9 kB / 0.5457 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.4064, allocations: 312.2 kB / 0.546 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.4065, allocations: 36.64 kB / 0.546 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.4068, allocations: 396.7 kB / 0.5464 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.407, allocations: 223.5 kB / 0.5466 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.4074, allocations: 153.6 kB / 0.5467 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4076, allocations: 355.7 kB / 0.5471 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.408, allocations: 193.2 kB / 0.5473 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.4086, allocations: 406 kB / 0.5476 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.4095, allocations: 0.6103 MB / 0.5482 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.4095, allocations: 6.094 kB / 0.5483 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001415/0.4109, allocations: 0.8801 MB / 0.5491 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4109, allocations: 8 kB / 0.5491 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.411, allocations: 12.44 kB / 0.5491 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.4117, allocations: 223.2 kB / 0.5493 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.4122, allocations: 143.8 kB / 0.5495 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005731/0.4179, allocations: 6.709 MB / 0.556 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.4184, allocations: 79.12 kB / 0.5561 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.4185, allocations: 35.98 kB / 0.5561 GB, free: 4.543 MB / 414.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.4189, allocations: 233.6 kB / 0.5564 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.419, allocations: 43.44 kB / 0.5564 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.4203, allocations: 0.687 MB / 0.5571 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4203, allocations: 0 / 0.5571 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4203, allocations: 7.984 kB / 0.5571 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.4204, allocations: 124.5 kB / 0.5572 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.4205, allocations: 15.94 kB / 0.5572 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.4208, allocations: 16.27 kB / 0.5572 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4209, allocations: 55.91 kB / 0.5573 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001679/0.4226, allocations: 1.001 MB / 0.5583 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001089/0.4237, allocations: 1.065 MB / 0.5593 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002563/0.424, allocations: 175.8 kB / 0.5595 GB, free: 1.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.4242, allocations: 213.9 kB / 0.5597 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Backend: time 4.71e-07/0.4242, allocations: 0 / 0.5597 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.4263, allocations: 1.084 MB / 0.5607 GB, free: 15.69 MB / 430.1 MB Notification: Performance of SimCode: time 0.002104/0.4284, allocations: 1.749 MB / 0.5624 GB, free: 13.89 MB / 430.1 MB Notification: Performance of Templates: time 0.01483/0.4432, allocations: 8.19 MB / 0.5704 GB, free: 5.715 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches