Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001127/0.001128, allocations: 191 kB / 18 MB, free: 5.09 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009269/0.0009269, allocations: 47.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2776, allocations: 49.42 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008058/0.2857, allocations: 6.467 MB / 407.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.2899, allocations: 2.531 MB / 409.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.2907, allocations: 23.94 kB / 409.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.2936, allocations: 1.274 MB / 411 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.2954, allocations: 0.6913 MB / 411.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.2975, allocations: 1.104 MB / 412.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.2986, allocations: 1.063 MB / 413.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.2998, allocations: 0.899 MB / 414.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.3003, allocations: 450.3 kB / 415.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.3009, allocations: 0.5406 MB / 415.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.301, allocations: 96 kB / 415.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.3018, allocations: 407.7 kB / 416.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3019, allocations: 231.1 kB / 416.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.3024, allocations: 0.5169 MB / 417 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.3041, allocations: 1.514 MB / 418.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3041, allocations: 0 / 418.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3041, allocations: 0 / 418.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3041, allocations: 4 kB / 418.5 MB, free: 7.023 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004029/0.3082, allocations: 1.653 MB / 420.2 MB, free: 5.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3082, allocations: 8.031 kB / 420.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/0.3113, allocations: 483.8 kB / 420.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.3119, allocations: 498.4 kB / 421.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.312, allocations: 82.22 kB / 421.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.3121, allocations: 123.9 kB / 421.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.3138, allocations: 0.9628 MB / 422.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.3138, allocations: 4 kB / 422.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/0.3139, allocations: 44 kB / 422.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.314, allocations: 28 kB / 422.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.3157, allocations: 0.9613 MB / 423.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.3209, allocations: 3.678 MB / 427 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.3228, allocations: 1.544 MB / 428.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.3236, allocations: 436.3 kB / 429 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.3237, allocations: 102.2 kB / 429.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008571/0.3246, allocations: 486.4 kB / 429.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.025e-06/0.3246, allocations: 0 / 429.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008928/0.3335, allocations: 4.016 MB / 433.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.3337, allocations: 145.5 kB / 433.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.3341, allocations: 393.6 kB / 434.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.3342, allocations: 45.7 kB / 434.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.3345, allocations: 433 kB / 434.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.3348, allocations: 444.2 kB / 435 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.3351, allocations: 198.9 kB / 435.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3353, allocations: 382.8 kB / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/0.3359, allocations: 354.5 kB / 435.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.3368, allocations: 0.539 MB / 436.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.3383, allocations: 0.945 MB / 437.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3384, allocations: 4 kB / 437.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002396/0.3408, allocations: 1.39 MB / 438.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3408, allocations: 8 kB / 438.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3408, allocations: 7.938 kB / 438.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008586/0.3417, allocations: 351.1 kB / 439.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.3425, allocations: 207.7 kB / 439.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007518/0.3501, allocations: 8.485 MB / 447.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.3508, allocations: 48.03 kB / 447.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.3509, allocations: 55.94 kB / 447.9 MB, free: 8.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004254/0.3513, allocations: 257.5 kB / 448.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3514, allocations: 71.58 kB / 448.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.3538, allocations: 1.309 MB / 449.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.3539, allocations: 12 kB / 449.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3539, allocations: 12 kB / 449.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.3539, allocations: 7.969 kB / 449.6 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/0.3578, allocations: 2.526 MB / 452.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3578, allocations: 0 / 452.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.3585, allocations: 151.8 kB / 452.3 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007637/0.3592, allocations: 334.4 kB / 452.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.3593, allocations: 24 kB / 452.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007392/0.3667, allocations: 8.133 MB / 460.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3668, allocations: 0 / 460.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.3701, allocations: 1.829 MB / 462.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.3706, allocations: 220.6 kB / 462.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.3707, allocations: 24 kB / 462.8 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.3713, allocations: 39.98 kB / 462.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.3716, allocations: 100.8 kB / 463 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.3717, allocations: 35.98 kB / 463 MB, free: 8.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.3721, allocations: 267.2 kB / 463.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3721, allocations: 0 / 463.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0015/0.3736, allocations: 319.9 kB / 463.6 MB, free: 7.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003572/0.3739, allocations: 175 kB / 463.7 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.3767, allocations: 1.62 MB / 465.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3767, allocations: 8.312 kB / 465.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.3785, allocations: 1.15 MB / 466.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.3791, allocations: 77.5 kB / 466.6 MB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.3829, allocations: 1.945 MB / 468.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.3835, allocations: 1.024 MB / 469.6 MB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000432/0.384, allocations: 106.2 kB / 469.7 MB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3841, allocations: 55.42 kB / 469.7 MB, free: 1.418 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3841, allocations: 0 / 469.7 MB, free: 1.418 MB / 382.1 MB Notification: Performance of Templates: time 0.01971/0.4039, allocations: 11.15 MB / 480.9 MB, free: 6.273 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches