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.001241/0.001241, allocations: 110.8 kB / 18.45 MB, free: 4.645 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.001164/0.001164, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.331/1.331, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2073/0.2073, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3474, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006559/0.354, allocations: 5.308 MB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.3572, allocations: 1.589 MB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.3575, allocations: 18.09 kB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.3609, allocations: 1.591 MB / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.3618, allocations: 301 kB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.3632, allocations: 0.6752 MB / 0.5288 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.3643, allocations: 0.7977 MB / 0.5296 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.3655, allocations: 0.7311 MB / 0.5303 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.366, allocations: 340.2 kB / 0.5306 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007581/0.3668, allocations: 461.4 kB / 0.5311 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3669, allocations: 78.97 kB / 0.5312 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.3674, allocations: 189.8 kB / 0.5313 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3676, allocations: 175 kB / 0.5315 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.368, allocations: 435.3 kB / 0.5319 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3692, allocations: 1.154 MB / 0.533 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3692, allocations: 1.156 kB / 0.533 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3692, allocations: 0 / 0.533 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.3692, allocations: 0 / 0.533 GB, free: 10.29 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.003348/0.3726, allocations: 1.352 MB / 0.5344 GB, free: 9.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3726, allocations: 8.531 kB / 0.5344 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.3741, allocations: 227.5 kB / 0.5346 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3743, allocations: 254.6 kB / 0.5348 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.3744, allocations: 78.73 kB / 0.5349 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.3745, allocations: 112.3 kB / 0.535 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.3761, allocations: 0.9307 MB / 0.5359 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.3762, allocations: 5.234 kB / 0.5359 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.3762, allocations: 40.53 kB / 0.536 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.3763, allocations: 24.28 kB / 0.536 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3775, allocations: 0.7192 MB / 0.5367 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/0.3824, allocations: 3.904 MB / 0.5405 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.385, allocations: 3.381 MB / 0.5438 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.3855, allocations: 298.5 kB / 0.5441 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3856, allocations: 102.1 kB / 0.5442 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3856, allocations: 37.83 kB / 0.5442 GB, free: 456 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.565e-06/0.3856, allocations: 3.938 kB / 0.5442 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002694/0.3883, allocations: 1.33 MB / 0.5455 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.3884, allocations: 135.8 kB / 0.5457 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.3888, allocations: 316.2 kB / 0.546 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.3888, allocations: 36.08 kB / 0.546 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.3891, allocations: 397.2 kB / 0.5464 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.3893, allocations: 224.1 kB / 0.5466 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3895, allocations: 148.7 kB / 0.5467 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3897, allocations: 352 kB / 0.5471 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.39, allocations: 198 kB / 0.5472 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.3905, allocations: 400.9 kB / 0.5476 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.3913, allocations: 0.6156 MB / 0.5482 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3913, allocations: 4 kB / 0.5482 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001325/0.3927, allocations: 0.881 MB / 0.5491 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3927, allocations: 6.5 kB / 0.5491 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.3927, allocations: 8.5 kB / 0.5491 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.3933, allocations: 235.1 kB / 0.5493 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3938, allocations: 139.8 kB / 0.5495 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.399, allocations: 6.713 MB / 0.556 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.3994, allocations: 79.12 kB / 0.5561 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.3995, allocations: 36 kB / 0.5561 GB, free: 4.527 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.0002962/0.3998, allocations: 231.6 kB / 0.5564 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3999, allocations: 43.44 kB / 0.5564 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.401, allocations: 0.6832 MB / 0.5571 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4011, allocations: 12 kB / 0.5571 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4011, allocations: 4 kB / 0.5571 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.4011, allocations: 7.969 kB / 0.5571 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.4034, allocations: 1.57 MB / 0.5586 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4034, allocations: 0 / 0.5586 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.4036, allocations: 63.91 kB / 0.5587 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/0.4041, allocations: 219.5 kB / 0.5589 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.4042, allocations: 16 kB / 0.5589 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.4095, allocations: 6.686 MB / 0.5654 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4096, allocations: 3.984 kB / 0.5654 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.411, allocations: 1.191 MB / 0.5666 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4112, allocations: 128.5 kB / 0.5667 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.4113, allocations: 12 kB / 0.5667 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.4116, allocations: 12 kB / 0.5667 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.4117, allocations: 67.8 kB / 0.5668 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4117, allocations: 16 kB / 0.5668 GB, free: 8.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.412, allocations: 210 kB / 0.567 GB, free: 8.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.412, allocations: 0 / 0.567 GB, free: 8.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001041/0.413, allocations: 279.1 kB / 0.5673 GB, free: 8.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (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 Backend phase and start with SimCode phase: time 0.0002641/0.4133, allocations: 143.2 kB / 0.5674 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.415, allocations: 1.08 MB / 0.5685 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.415, allocations: 0 / 0.5685 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008587/0.4158, allocations: 0.768 MB / 0.5692 GB, free: 6.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.4165, allocations: 43.8 kB / 0.5693 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4186, allocations: 1.26 MB / 0.5705 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.4192, allocations: 0.9111 MB / 0.5714 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4193, allocations: 47.42 kB / 0.5714 GB, free: 3.941 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4193, allocations: 0 / 0.5714 GB, free: 3.941 MB / 430.1 MB Notification: Performance of Templates: time 0.02008/0.4394, allocations: 19.42 MB / 0.5904 GB, free: 0.4922 MB / 446.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