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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001472/0.001472, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2026/0.2026, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3035, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006465/0.31, allocations: 5.327 MB / 0.5369 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.313, allocations: 1.641 MB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005541/0.3135, allocations: 18.53 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.317, allocations: 1.596 MB / 0.54 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.318, allocations: 311.9 kB / 0.5403 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3191, allocations: 0.5139 MB / 0.5408 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3202, allocations: 0.8091 MB / 0.5416 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.3214, allocations: 0.7311 MB / 0.5423 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007429/0.3221, allocations: 347.1 kB / 0.5427 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.3228, allocations: 460.4 kB / 0.5431 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.323, allocations: 75.16 kB / 0.5432 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.3235, allocations: 199 kB / 0.5434 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3237, allocations: 175.8 kB / 0.5435 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.3243, allocations: 430.9 kB / 0.544 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.3256, allocations: 1.162 MB / 0.5451 GB, free: 3.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3256, allocations: 0 / 0.5451 GB, free: 3.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3256, allocations: 0 / 0.5451 GB, free: 3.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.3256, allocations: 5.562 kB / 0.5451 GB, free: 3.383 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.003567/0.3292, allocations: 1.35 MB / 0.5464 GB, free: 2.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3293, allocations: 10.83 kB / 0.5464 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.3309, allocations: 244.3 kB / 0.5467 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3312, allocations: 268.4 kB / 0.5469 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.3313, allocations: 78.31 kB / 0.547 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.3315, allocations: 104 kB / 0.5471 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3329, allocations: 0.9282 MB / 0.548 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.333, allocations: 4 kB / 0.548 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.3331, allocations: 44 kB / 0.548 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.3331, allocations: 24 kB / 0.5481 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.3343, allocations: 0.7222 MB / 0.5488 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004761/0.339, allocations: 4.067 MB / 0.5527 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.3414, allocations: 3.381 MB / 0.556 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.3418, allocations: 290.1 kB / 0.5563 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.342, allocations: 174.5 kB / 0.5565 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.342, allocations: 42.89 kB / 0.5565 GB, free: 7.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 1.993e-06/0.342, allocations: 0 / 0.5565 GB, free: 7.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002623/0.3446, allocations: 1.331 MB / 0.5578 GB, free: 5.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.3447, allocations: 140.4 kB / 0.558 GB, free: 5.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.3451, allocations: 318.8 kB / 0.5583 GB, free: 5.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.3451, allocations: 37.69 kB / 0.5583 GB, free: 5.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3453, allocations: 394.5 kB / 0.5587 GB, free: 4.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.3455, allocations: 236.6 kB / 0.5589 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.3457, allocations: 138.6 kB / 0.559 GB, free: 4.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3458, allocations: 354.8 kB / 0.5594 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.3461, allocations: 201.9 kB / 0.5596 GB, free: 3.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.3466, allocations: 404.6 kB / 0.5599 GB, free: 3.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.3473, allocations: 0.6142 MB / 0.5605 GB, free: 2.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.3474, allocations: 3.938 kB / 0.5606 GB, free: 2.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001419/0.3488, allocations: 0.8853 MB / 0.5614 GB, free: 1.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3488, allocations: 8 kB / 0.5614 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3488, allocations: 4 kB / 0.5614 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/0.3494, allocations: 223.4 kB / 0.5616 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.3499, allocations: 139.8 kB / 0.5618 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/0.3551, allocations: 6.702 MB / 0.5683 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.3555, allocations: 83.03 kB / 0.5684 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.3556, allocations: 36 kB / 0.5684 GB, free: 9.941 MB / 430.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.0002786/0.3559, allocations: 229.9 kB / 0.5687 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.356, allocations: 43.59 kB / 0.5687 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3571, allocations: 0.6896 MB / 0.5694 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3572, allocations: 7.984 kB / 0.5694 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3572, allocations: 3.938 kB / 0.5694 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3573, allocations: 124.4 kB / 0.5695 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.3573, allocations: 23.92 kB / 0.5695 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.3577, allocations: 16 kB / 0.5695 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.3578, allocations: 55.91 kB / 0.5696 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001537/0.3593, allocations: 0.9986 MB / 0.5706 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001007/0.3603, allocations: 1.065 MB / 0.5716 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002411/0.3606, allocations: 176.3 kB / 0.5718 GB, free: 6.434 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.3608, allocations: 213.9 kB / 0.572 GB, free: 6.227 MB / 430.1 MB Notification: Performance of Backend: time 6.81e-07/0.3608, allocations: 0 / 0.572 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.3626, allocations: 1.074 MB / 0.573 GB, free: 5.094 MB / 430.1 MB Notification: Performance of SimCode: time 0.001915/0.3645, allocations: 1.758 MB / 0.5747 GB, free: 3.285 MB / 430.1 MB Notification: Performance of Templates: time 0.01385/0.3784, allocations: 8.494 MB / 0.583 GB, free: 10.8 MB / 446.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches