Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 111.7 kB / 17.06 MB, free: 5.988 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.001795/0.001796, allocations: 191.9 kB / 18 MB, free: 5.078 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.445/1.445, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009938/0.0009938, allocations: 47.94 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3046, allocations: 49.43 MB / 400.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00768/0.3123, allocations: 6.716 MB / 407.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.3171, allocations: 2.39 MB / 409.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008743/0.318, allocations: 20 kB / 409.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005011/0.323, allocations: 1.87 MB / 411.7 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.3255, allocations: 0.7066 MB / 412.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.3282, allocations: 1.175 MB / 413.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.3302, allocations: 1.129 MB / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.3321, allocations: 0.9466 MB / 415.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00084/0.3329, allocations: 482.2 kB / 416.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.3339, allocations: 0.6225 MB / 416.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.3342, allocations: 100 kB / 416.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3355, allocations: 423.7 kB / 417.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.3358, allocations: 251 kB / 417.5 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007969/0.3366, allocations: 0.5597 MB / 418.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.3393, allocations: 1.654 MB / 419.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3393, allocations: 4 kB / 419.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3393, allocations: 0 / 419.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.207e-05/0.3394, allocations: 3.938 kB / 419.8 MB, free: 5.922 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.007185/0.3466, allocations: 2.043 MB / 421.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3467, allocations: 8.031 kB / 421.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/0.3503, allocations: 0.5114 MB / 422.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.3507, allocations: 310.9 kB / 422.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.3508, allocations: 94.95 kB / 422.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.3511, allocations: 124.4 kB / 422.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.3539, allocations: 1.311 MB / 424.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.3539, allocations: 7.953 kB / 424.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.3541, allocations: 51.94 kB / 424.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.3541, allocations: 32 kB / 424.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.3568, allocations: 1.193 MB / 425.4 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007251/0.3641, allocations: 4.187 MB / 429.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.367, allocations: 2.448 MB / 432.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.368, allocations: 0.5086 MB / 432.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.3682, allocations: 106.1 kB / 432.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3683, allocations: 43.56 kB / 432.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.236e-06/0.3683, allocations: 4 kB / 432.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01133/0.3796, allocations: 3.797 MB / 436.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3797, allocations: 90.11 kB / 436.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.3803, allocations: 393.5 kB / 437 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.3804, allocations: 45.7 kB / 437 MB, free: 3.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.3807, allocations: 476.5 kB / 437.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.3811, allocations: 440.2 kB / 437.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004304/0.3815, allocations: 231.5 kB / 438.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3817, allocations: 374.8 kB / 438.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.3829, allocations: 431.8 kB / 438.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.3843, allocations: 0.7074 MB / 439.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.387, allocations: 1.186 MB / 440.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.387, allocations: 3.938 kB / 440.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003359/0.3904, allocations: 1.478 MB / 442.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3904, allocations: 8 kB / 442.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3905, allocations: 8 kB / 442.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/0.3911, allocations: 205.5 kB / 442.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.3924, allocations: 291.5 kB / 442.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.397, allocations: 4.364 MB / 447.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.3981, allocations: 83.89 kB / 447.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.3983, allocations: 55.98 kB / 447.3 MB, free: 9.062 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005564/0.3988, allocations: 269.5 kB / 447.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.399, allocations: 71.61 kB / 447.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.4025, allocations: 1.351 MB / 449 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4025, allocations: 12 kB / 449 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.4025, allocations: 7.938 kB / 449 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.4025, allocations: 3.984 kB / 449 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.4076, allocations: 2.614 MB / 451.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4077, allocations: 7.875 kB / 451.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/0.4087, allocations: 215.7 kB / 451.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.4091, allocations: 161.7 kB / 452 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/0.4092, allocations: 27.98 kB / 452 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/0.4137, allocations: 4.189 MB / 456.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4138, allocations: 3.938 kB / 456.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.418, allocations: 1.888 MB / 458.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.4184, allocations: 228.5 kB / 458.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.4186, allocations: 20 kB / 458.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/0.4193, allocations: 72 kB / 458.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.4196, allocations: 92.81 kB / 458.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.4197, allocations: 35.98 kB / 458.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.42, allocations: 271.2 kB / 458.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.42, allocations: 0 / 458.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001219/0.4213, allocations: 296 kB / 459.1 MB, free: 12.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003235/0.4216, allocations: 187.4 kB / 459.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003283/0.4249, allocations: 1.454 MB / 460.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4249, allocations: 0 / 460.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.4266, allocations: 0.8739 MB / 461.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.4271, allocations: 69.55 kB / 461.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.4313, allocations: 1.966 MB / 463.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.4319, allocations: 1.005 MB / 464.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006435/0.4326, allocations: 146.6 kB / 464.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.4328, allocations: 75.41 kB / 464.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4328, allocations: 0 / 464.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of Templates: time 0.01895/0.4518, allocations: 10.39 MB / 475.3 MB, free: 12.55 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches