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.002156/0.002156, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003346/0.003346, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.591/2.591, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3769/0.3769, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 71.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8654, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.0149/0.8805, allocations: 5.321 MB / 0.5369 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007026/0.8876, allocations: 1.647 MB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.8894, allocations: 19.34 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006779/0.8963, allocations: 1.592 MB / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.8998, allocations: 317.2 kB / 0.5403 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.9031, allocations: 0.513 MB / 0.5408 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.9062, allocations: 0.8017 MB / 0.5416 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.909, allocations: 0.727 MB / 0.5423 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.9104, allocations: 343.1 kB / 0.5427 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.9121, allocations: 468.4 kB / 0.5431 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004595/0.9126, allocations: 74.88 kB / 0.5432 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.9142, allocations: 196.2 kB / 0.5434 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.9147, allocations: 170.5 kB / 0.5435 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.9166, allocations: 435.3 kB / 0.5439 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005019/0.9217, allocations: 1.176 MB / 0.5451 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.9218, allocations: 0 / 0.5451 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.9218, allocations: 0 / 0.5451 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.713e-05/0.9219, allocations: 0 / 0.5451 GB, free: 3.402 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.007681/0.9296, allocations: 1.374 MB / 0.5464 GB, free: 2.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.564e-05/0.9297, allocations: 9.297 kB / 0.5464 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/0.933, allocations: 245.2 kB / 0.5467 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.9337, allocations: 266.7 kB / 0.5469 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.9338, allocations: 78.38 kB / 0.547 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.9342, allocations: 100.1 kB / 0.5471 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.9371, allocations: 0.9321 MB / 0.548 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.9372, allocations: 3.953 kB / 0.548 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.9373, allocations: 44 kB / 0.5481 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.9374, allocations: 32 kB / 0.5481 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.9395, allocations: 0.7222 MB / 0.5488 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009156/0.9487, allocations: 4.08 MB / 0.5528 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/0.953, allocations: 3.379 MB / 0.5561 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/0.9537, allocations: 295.1 kB / 0.5564 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.9541, allocations: 174.5 kB / 0.5565 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.9542, allocations: 46.89 kB / 0.5566 GB, free: 7.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 5.611e-06/0.9542, allocations: 0 / 0.5566 GB, free: 7.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.004747/0.9589, allocations: 1.336 MB / 0.5579 GB, free: 5.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.9591, allocations: 140.5 kB / 0.558 GB, free: 5.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.9599, allocations: 314.8 kB / 0.5583 GB, free: 5.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.96, allocations: 41.7 kB / 0.5583 GB, free: 5.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.9604, allocations: 403.9 kB / 0.5587 GB, free: 4.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.9608, allocations: 245.9 kB / 0.559 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.9611, allocations: 150.6 kB / 0.5591 GB, free: 4.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.9614, allocations: 350.8 kB / 0.5594 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.962, allocations: 197.9 kB / 0.5596 GB, free: 3.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/0.9629, allocations: 404.6 kB / 0.56 GB, free: 3.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.9646, allocations: 0.6142 MB / 0.5606 GB, free: 2.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.9646, allocations: 7.938 kB / 0.5606 GB, free: 2.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00275/0.9674, allocations: 0.8854 MB / 0.5615 GB, free: 1.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.9674, allocations: 8 kB / 0.5615 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/0.9675, allocations: 8 kB / 0.5615 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.9688, allocations: 223.4 kB / 0.5617 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008296/0.9697, allocations: 139.8 kB / 0.5619 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.9845, allocations: 6.711 MB / 0.5684 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.9863, allocations: 91.3 kB / 0.5685 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.9865, allocations: 35.98 kB / 0.5685 GB, free: 9.879 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.0008617/0.9874, allocations: 221.5 kB / 0.5687 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.9878, allocations: 39.77 kB / 0.5688 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.9898, allocations: 0.7026 MB / 0.5695 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.9899, allocations: 3.984 kB / 0.5695 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.9899, allocations: 0 / 0.5695 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.9902, allocations: 132.7 kB / 0.5696 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.9904, allocations: 15.94 kB / 0.5696 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.991, allocations: 12 kB / 0.5696 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.9912, allocations: 55.91 kB / 0.5697 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00711/0.9983, allocations: 1.006 MB / 0.5707 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002153/1.001, allocations: 1.061 MB / 0.5717 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004573/1.001, allocations: 176.4 kB / 0.5719 GB, free: 6.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004655/1.002, allocations: 209.9 kB / 0.5721 GB, free: 6.172 MB / 430.1 MB Notification: Performance of Backend: time 1.292e-06/1.002, allocations: 0 / 0.5721 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003997/1.006, allocations: 1.081 MB / 0.5731 GB, free: 5.031 MB / 430.1 MB Notification: Performance of SimCode: time 0.004619/1.01, allocations: 1.776 MB / 0.5749 GB, free: 3.203 MB / 430.1 MB Notification: Performance of Templates: time 0.4796/1.49, allocations: 8.295 MB / 0.583 GB, free: 10.92 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