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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001952/0.001952, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002419/0.002419, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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=500,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=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 56.09 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1186, allocations: 53.32 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.2158/0.3344, allocations: 5.074 MB / 432.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.3377, allocations: 2.172 MB / 434.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.338, allocations: 20.94 kB / 434.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.3407, allocations: 1.406 MB / 435.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.3418, allocations: 436 kB / 436.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.3437, allocations: 1.211 MB / 437.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008213/0.3445, allocations: 0.7336 MB / 438.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.3453, allocations: 0.5026 MB / 438.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.3457, allocations: 333.3 kB / 439 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.3461, allocations: 429.5 kB / 439.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.3462, allocations: 71.47 kB / 439.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009064/0.3471, allocations: 416.1 kB / 439.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3472, allocations: 163.5 kB / 440.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.3475, allocations: 375.7 kB / 440.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.3491, allocations: 1.213 MB / 441.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3491, allocations: 0 / 441.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3491, allocations: 0 / 441.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3491, allocations: 0 / 441.7 MB, free: 5.211 MB / 350.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.004318/0.3534, allocations: 1.476 MB / 443.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3534, allocations: 10.23 kB / 443.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.3562, allocations: 369.4 kB / 443.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3564, allocations: 254.1 kB / 443.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.3565, allocations: 68.47 kB / 443.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.3566, allocations: 84.34 kB / 443.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.3584, allocations: 0.8714 MB / 444.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.3585, allocations: 4.609 kB / 444.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.3585, allocations: 35.94 kB / 444.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.3586, allocations: 20.12 kB / 444.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.3604, allocations: 0.7887 MB / 445.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.3645, allocations: 3.022 MB / 448.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3656, allocations: 0.9619 MB / 449.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.3661, allocations: 216.1 kB / 449.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.3663, allocations: 183.4 kB / 450 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3663, allocations: 38.36 kB / 450 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.3663, allocations: 0 / 450 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007682/0.374, allocations: 2.399 MB / 452.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.374, allocations: 83.17 kB / 452.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.3744, allocations: 306.3 kB / 452.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.3745, allocations: 35.08 kB / 452.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.3747, allocations: 372 kB / 453.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.3749, allocations: 219.4 kB / 453.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.3752, allocations: 145.3 kB / 453.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3753, allocations: 352.4 kB / 453.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007801/0.3761, allocations: 268.2 kB / 454.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/0.3771, allocations: 0.5008 MB / 454.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.3788, allocations: 0.814 MB / 455.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3788, allocations: 6.562 kB / 455.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002116/0.3809, allocations: 0.889 MB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3809, allocations: 12.34 kB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3809, allocations: 8.281 kB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.3812, allocations: 72.14 kB / 456.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.382, allocations: 199.3 kB / 456.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.3845, allocations: 2.87 MB / 459.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.3852, allocations: 63.73 kB / 459.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.3852, allocations: 38.84 kB / 459.7 MB, free: 9.582 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.0003782/0.3856, allocations: 216.4 kB / 459.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3857, allocations: 47.81 kB / 459.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.3878, allocations: 0.7238 MB / 460.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3878, allocations: 6.656 kB / 460.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3878, allocations: 1.25 kB / 460.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.3878, allocations: 3.984 kB / 460.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.3906, allocations: 1.408 MB / 462.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3906, allocations: 7.938 kB / 462.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.3913, allocations: 125 kB / 462.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.3914, allocations: 63.8 kB / 462.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.3915, allocations: 16.02 kB / 462.3 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.3937, allocations: 2.849 MB / 465.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3937, allocations: 1.094 kB / 465.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.3963, allocations: 1.078 MB / 466.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3965, allocations: 166.4 kB / 466.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.3966, allocations: 11.38 kB / 466.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.3971, allocations: 47.42 kB / 466.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3972, allocations: 45.2 kB / 466.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.3973, allocations: 23.48 kB / 466.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3975, allocations: 204.8 kB / 466.7 MB, free: 4.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 0 / 466.7 MB, free: 4.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008524/0.3983, allocations: 180.1 kB / 466.9 MB, free: 4.055 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.000316/0.3987, allocations: 163.4 kB / 467 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.4007, allocations: 0.8744 MB / 467.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4007, allocations: 3.938 kB / 467.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4018, allocations: 0.5177 MB / 468.4 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.4022, allocations: 53.41 kB / 468.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.4049, allocations: 1.207 MB / 469.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.4054, allocations: 0.8834 MB / 470.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.4057, allocations: 93.47 kB / 470.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.4059, allocations: 48.08 kB / 470.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4059, allocations: 0 / 470.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of Templates: time 0.01387/0.4198, allocations: 6.589 MB / 477.3 MB, free: 13.4 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.795571528375149]