Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001112, allocations: 64.08 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2861, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005676/0.2918, allocations: 5.044 MB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.2949, allocations: 2.144 MB / 416.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.2951, allocations: 16 kB / 416.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.298, allocations: 1.408 MB / 417.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.2988, allocations: 417.4 kB / 418.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.3009, allocations: 1.205 MB / 419.5 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000758/0.3017, allocations: 0.7356 MB / 420.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008651/0.3026, allocations: 0.6532 MB / 420.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.303, allocations: 334.8 kB / 421.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.3034, allocations: 426.3 kB / 421.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.3035, allocations: 68 kB / 421.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007455/0.3043, allocations: 423.6 kB / 422.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3044, allocations: 155.4 kB / 422.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.3047, allocations: 378.2 kB / 422.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.3058, allocations: 1.201 MB / 423.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3059, allocations: 4 kB / 423.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3059, allocations: 0 / 423.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3059, allocations: 0 / 423.8 MB, free: 2.961 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004231/0.3101, allocations: 1.459 MB / 425.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3102, allocations: 11.97 kB / 425.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.3129, allocations: 383.7 kB / 425.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.3131, allocations: 255.9 kB / 425.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.3132, allocations: 66.38 kB / 426 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3133, allocations: 84.38 kB / 426.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.3149, allocations: 0.8723 MB / 426.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.3149, allocations: 7.969 kB / 426.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.315, allocations: 36 kB / 427 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.315, allocations: 20 kB / 427 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.3168, allocations: 0.7964 MB / 427.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.3208, allocations: 3.005 MB / 430.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.322, allocations: 1 MB / 431.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.3225, allocations: 242.4 kB / 432 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.3226, allocations: 182.7 kB / 432.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3227, allocations: 43.06 kB / 432.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.994e-06/0.3227, allocations: 0 / 432.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0071/0.3298, allocations: 2.388 MB / 434.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3299, allocations: 93.66 kB / 434.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.3302, allocations: 299.1 kB / 435 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.3302, allocations: 37.7 kB / 435.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3304, allocations: 362.6 kB / 435.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.3306, allocations: 212.9 kB / 435.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3308, allocations: 138.6 kB / 435.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3309, allocations: 350.8 kB / 436.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.3316, allocations: 269.8 kB / 436.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.3325, allocations: 0.5042 MB / 436.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.3341, allocations: 0.8075 MB / 437.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3341, allocations: 4 kB / 437.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001964/0.3361, allocations: 0.8986 MB / 438.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3361, allocations: 8 kB / 438.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3361, allocations: 8 kB / 438.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.3364, allocations: 69.61 kB / 438.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/0.3372, allocations: 199.7 kB / 438.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.3392, allocations: 2.864 MB / 441.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.3399, allocations: 67.86 kB / 441.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.3399, allocations: 35.98 kB / 441.8 MB, free: 15.81 MB / 366.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.000284/0.3402, allocations: 217.6 kB / 442 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.3403, allocations: 39.53 kB / 442.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.3422, allocations: 0.739 MB / 442.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3422, allocations: 4 kB / 442.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3422, allocations: 0 / 442.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3422, allocations: 7.984 kB / 442.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.3449, allocations: 1.417 MB / 444.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3449, allocations: 0 / 444.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006502/0.3456, allocations: 131.8 kB / 444.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.3458, allocations: 57.67 kB / 444.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.3458, allocations: 15.98 kB / 444.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.348, allocations: 2.849 MB / 447.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3481, allocations: 4.125 kB / 447.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.3506, allocations: 1.075 MB / 448.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.3508, allocations: 176.4 kB / 448.5 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.3509, allocations: 8 kB / 448.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.3514, allocations: 47.95 kB / 448.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3516, allocations: 48.55 kB / 448.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3516, allocations: 19.94 kB / 448.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.3519, allocations: 211.1 kB / 448.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3519, allocations: 0 / 448.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007386/0.3526, allocations: 176 kB / 449 MB, free: 8.18 MB / 366.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.0003131/0.3529, allocations: 162.5 kB / 449.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.355, allocations: 0.9163 MB / 450.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.355, allocations: 0 / 450.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.3561, allocations: 0.5472 MB / 450.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.3566, allocations: 44.59 kB / 450.7 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.3595, allocations: 1.231 MB / 451.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.36, allocations: 0.8771 MB / 452.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.3604, allocations: 88.52 kB / 452.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.3605, allocations: 47.42 kB / 453 MB, free: 4.168 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3605, allocations: 0 / 453 MB, free: 4.168 MB / 366.1 MB Notification: Performance of Templates: time 0.01454/0.3751, allocations: 6.425 MB / 459.4 MB, free: 13.78 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches