Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001822/0.001822, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 227.7 MB / 247 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 60.77 kB / 307.2 MB, free: 456 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09456, allocations: 50.55 MB / 357.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006869/0.1015, allocations: 5.049 MB / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.1051, allocations: 2.16 MB / 365 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1053, allocations: 16 kB / 365 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.1084, allocations: 1.404 MB / 366.4 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009475/0.1094, allocations: 421.4 kB / 366.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.1117, allocations: 1.205 MB / 368 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008752/0.1126, allocations: 0.7239 MB / 368.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009956/0.1136, allocations: 0.6575 MB / 369.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.1141, allocations: 338.8 kB / 369.7 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.1146, allocations: 422.3 kB / 370.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1147, allocations: 68 kB / 370.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007985/0.1155, allocations: 415.6 kB / 370.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.1157, allocations: 167.4 kB / 370.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003798/0.1161, allocations: 374.2 kB / 371.2 MB, free: 456 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1538/0.2699, allocations: 1.191 MB / 372.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.27, allocations: 0.75 kB / 372.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.27, allocations: 0.75 kB / 372.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.27, allocations: 0 / 372.4 MB, free: 11.65 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004169/0.2742, allocations: 1.457 MB / 373.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2742, allocations: 9.781 kB / 373.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/0.2768, allocations: 367.1 kB / 374.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.277, allocations: 256.4 kB / 374.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.277, allocations: 64.03 kB / 374.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2772, allocations: 80.66 kB / 374.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.2788, allocations: 0.8721 MB / 375.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.2788, allocations: 6.391 kB / 375.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.2789, allocations: 37.2 kB / 375.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.2789, allocations: 22.53 kB / 375.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.2806, allocations: 0.7885 MB / 376.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.2845, allocations: 3.048 MB / 379.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.2855, allocations: 0.9982 MB / 380.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.286, allocations: 240.8 kB / 380.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.2862, allocations: 184.1 kB / 380.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.2862, allocations: 42.36 kB / 380.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.773e-06/0.2862, allocations: 0 / 380.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006991/0.2932, allocations: 2.385 MB / 383.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2932, allocations: 91.45 kB / 383.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.2935, allocations: 297.1 kB / 383.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.2936, allocations: 35.92 kB / 383.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.2937, allocations: 364.4 kB / 384 MB, free: 6.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.2938, allocations: 211.2 kB / 384.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.294, allocations: 146.1 kB / 384.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.2941, allocations: 351.6 kB / 384.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/0.2948, allocations: 269.9 kB / 384.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.2957, allocations: 0.4991 MB / 385.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.2972, allocations: 0.8041 MB / 386.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2972, allocations: 6.547 kB / 386.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001888/0.2991, allocations: 0.8999 MB / 387.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2991, allocations: 7.5 kB / 387.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2991, allocations: 7.688 kB / 387.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.2994, allocations: 72.88 kB / 387.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.3002, allocations: 200.5 kB / 387.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3015, allocations: 2.868 MB / 390.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.3021, allocations: 68.25 kB / 390.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.3022, allocations: 31.88 kB / 390.4 MB, free: 1.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.3024, allocations: 214.8 kB / 390.6 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.3025, allocations: 42.56 kB / 390.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.3043, allocations: 0.7372 MB / 391.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3043, allocations: 6 kB / 391.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3043, allocations: 1.312 kB / 391.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3044, allocations: 2.906 kB / 391.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.3067, allocations: 1.419 MB / 392.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3067, allocations: 1.281 kB / 392.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.3074, allocations: 131.6 kB / 392.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.3075, allocations: 56.78 kB / 393 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.3076, allocations: 16.88 kB / 393 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.3096, allocations: 2.851 MB / 395.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3096, allocations: 1.219 kB / 395.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.3121, allocations: 1.086 MB / 396.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3123, allocations: 162.1 kB / 397.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.3124, allocations: 11 kB / 397.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/0.3129, allocations: 43.09 kB / 397.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.313, allocations: 48.66 kB / 397.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.3131, allocations: 20.3 kB / 397.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.3133, allocations: 206.9 kB / 397.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3133, allocations: 0 / 397.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007603/0.3141, allocations: 178.3 kB / 397.6 MB, free: 13.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (58): * Single equations (assignments): 56 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002652/0.3144, allocations: 153.6 kB / 397.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.3166, allocations: 0.9333 MB / 398.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3166, allocations: 0 / 398.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3176, allocations: 0.557 MB / 399.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.318, allocations: 51.64 kB / 399.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.3206, allocations: 1.189 MB / 400.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.3211, allocations: 0.8838 MB / 401.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.3215, allocations: 82.42 kB / 401.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3217, allocations: 55.12 kB / 401.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3217, allocations: 0 / 401.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of Templates: time 0.01205/0.3337, allocations: 6.145 MB / 407.6 MB, free: 6.289 MB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches