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.001732/0.001732, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.474/1.474, allocations: 227.7 MB / 247.7 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.001914/0.001914, allocations: 61.41 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.09813, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00677/0.1049, allocations: 5.046 MB / 363.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.1089, allocations: 2.148 MB / 365.6 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.1094, allocations: 16 kB / 365.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.1128, allocations: 1.4 MB / 367.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.1142, allocations: 421.4 kB / 367.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.1166, allocations: 1.202 MB / 368.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.1177, allocations: 0.72 MB / 369.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.1188, allocations: 0.6731 MB / 370.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.1193, allocations: 326.8 kB / 370.4 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.1198, allocations: 430.3 kB / 370.8 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.1199, allocations: 68 kB / 370.9 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009086/0.1208, allocations: 415.6 kB / 371.3 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.121, allocations: 163.4 kB / 371.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.1213, allocations: 374.2 kB / 371.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1827/0.304, allocations: 1.193 MB / 373 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3041, allocations: 0 / 373 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3041, allocations: 0 / 373 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.3041, allocations: 1.562 kB / 373 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.004761/0.3089, allocations: 1.454 MB / 374.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3089, allocations: 9.875 kB / 374.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.3116, allocations: 389.1 kB / 374.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3119, allocations: 253.8 kB / 375.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.312, allocations: 67.5 kB / 375.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.3122, allocations: 81.25 kB / 375.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.3142, allocations: 0.8749 MB / 376.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.3142, allocations: 6.016 kB / 376.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.3143, allocations: 31.44 kB / 376.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3143, allocations: 20.62 kB / 376.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.3162, allocations: 0.8011 MB / 377 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.3209, allocations: 3.04 MB / 380 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.3222, allocations: 1.003 MB / 381 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.3227, allocations: 235.6 kB / 381.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.3229, allocations: 179.2 kB / 381.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3229, allocations: 38.06 kB / 381.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/0.3229, allocations: 1.094 kB / 381.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007495/0.3304, allocations: 2.398 MB / 383.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.3305, allocations: 84.47 kB / 383.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.3309, allocations: 302 kB / 384.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.3309, allocations: 35.98 kB / 384.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3311, allocations: 360.6 kB / 384.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3313, allocations: 214.3 kB / 384.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3315, allocations: 146.9 kB / 385 MB, free: 6.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.3316, allocations: 348.4 kB / 385.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/0.3324, allocations: 273.8 kB / 385.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008793/0.3333, allocations: 0.5028 MB / 386.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.3349, allocations: 0.8035 MB / 386.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3349, allocations: 6.125 kB / 386.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002066/0.337, allocations: 0.9018 MB / 387.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.337, allocations: 7.906 kB / 387.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.337, allocations: 7.844 kB / 387.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.3373, allocations: 71.7 kB / 387.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.3382, allocations: 201.5 kB / 388.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.3397, allocations: 2.865 MB / 390.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.3404, allocations: 68.97 kB / 391 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.3405, allocations: 32.39 kB / 391 MB, free: 1.93 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.0003213/0.3408, allocations: 218 kB / 391.2 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.3409, allocations: 39.5 kB / 391.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.3428, allocations: 0.7345 MB / 392 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3428, allocations: 14.2 kB / 392 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3428, allocations: 1.375 kB / 392 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3429, allocations: 5.109 kB / 392 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.346, allocations: 1.422 MB / 393.5 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.346, allocations: 0 / 393.5 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.3467, allocations: 132.8 kB / 393.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.3469, allocations: 57.62 kB / 393.6 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.3469, allocations: 19.88 kB / 393.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.349, allocations: 2.847 MB / 396.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.349, allocations: 0 / 396.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.3517, allocations: 1.077 MB / 397.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.352, allocations: 168 kB / 397.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.3521, allocations: 10.75 kB / 397.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.3526, allocations: 50.64 kB / 397.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3527, allocations: 47.2 kB / 397.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.3528, allocations: 20.2 kB / 397.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.353, allocations: 207.6 kB / 398.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.353, allocations: 0 / 398.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008938/0.3539, allocations: 172.8 kB / 398.2 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.0003308/0.3543, allocations: 163.8 kB / 398.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.3567, allocations: 0.9297 MB / 399.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3567, allocations: 0 / 399.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.3578, allocations: 0.5526 MB / 399.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.3584, allocations: 45.14 kB / 399.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.3616, allocations: 1.278 MB / 401.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.3623, allocations: 0.8838 MB / 402.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.3626, allocations: 55.05 kB / 402.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3626, allocations: 0 / 402.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of Templates: time 0.01869/0.3813, allocations: 13.05 MB / 415.2 MB, free: 15.38 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/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