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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001628/0.001628, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] 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=500,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=500,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") [Timeout 660] "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.00192/0.00192, allocations: 63.88 kB / 374.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1006, allocations: 53.31 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.2194/0.3199, allocations: 5.076 MB / 433.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.3229, allocations: 2.171 MB / 435.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.3231, allocations: 16.38 kB / 435.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.3258, allocations: 1.407 MB / 436.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.3266, allocations: 441.9 kB / 437.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.3285, allocations: 1.202 MB / 438.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000755/0.3292, allocations: 0.7333 MB / 439.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.33, allocations: 0.502 MB / 439.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.3304, allocations: 335.3 kB / 439.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.3308, allocations: 425.6 kB / 440.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.331, allocations: 73.94 kB / 440.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009073/0.3319, allocations: 416 kB / 440.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.332, allocations: 164.3 kB / 441 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.3323, allocations: 374.4 kB / 441.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.3337, allocations: 1.211 MB / 442.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3337, allocations: 3.938 kB / 442.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3337, allocations: 1.188 kB / 442.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3337, allocations: 0 / 442.6 MB, free: 5.078 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.004097/0.3378, allocations: 1.476 MB / 444 MB, free: 4.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3379, allocations: 10.25 kB / 444.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.3405, allocations: 369.8 kB / 444.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.3407, allocations: 255.5 kB / 444.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/0.3408, allocations: 64.38 kB / 444.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3409, allocations: 87.61 kB / 444.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.3427, allocations: 0.8674 MB / 445.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.3427, allocations: 11.86 kB / 445.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.3428, allocations: 35.78 kB / 445.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.3428, allocations: 20.41 kB / 445.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.3448, allocations: 0.7915 MB / 446.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.349, allocations: 3.014 MB / 449.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.35, allocations: 0.9587 MB / 450.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.3505, allocations: 220.1 kB / 450.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3506, allocations: 182.9 kB / 450.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3507, allocations: 43.95 kB / 450.9 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.3507, allocations: 0 / 450.9 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007763/0.3584, allocations: 2.396 MB / 453.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.3585, allocations: 83.73 kB / 453.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.3589, allocations: 310.6 kB / 453.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.359, allocations: 34.98 kB / 453.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.3593, allocations: 368 kB / 454.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.3595, allocations: 222.6 kB / 454.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.3597, allocations: 146.2 kB / 454.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3599, allocations: 350.8 kB / 454.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007939/0.3607, allocations: 268 kB / 455.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000995/0.3617, allocations: 0.502 MB / 455.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3635, allocations: 0.8062 MB / 456.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3635, allocations: 7.031 kB / 456.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002188/0.3657, allocations: 0.8905 MB / 457.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.3657, allocations: 8.906 kB / 457.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.3657, allocations: 7.594 kB / 457.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.366, allocations: 78.22 kB / 457.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/0.3668, allocations: 195.2 kB / 457.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.3694, allocations: 2.87 MB / 460.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.37, allocations: 60.98 kB / 460.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.3701, allocations: 38.58 kB / 460.5 MB, free: 9.453 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.0003525/0.3705, allocations: 218.5 kB / 460.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3706, allocations: 44.53 kB / 460.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.3726, allocations: 0.7307 MB / 461.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3726, allocations: 6.406 kB / 461.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3726, allocations: 1.188 kB / 461.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3726, allocations: 3.984 kB / 461.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.3757, allocations: 1.412 MB / 463 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.3757, allocations: 0 / 463 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.3764, allocations: 133.8 kB / 463.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.3766, allocations: 55.77 kB / 463.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.3766, allocations: 20.2 kB / 463.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.3791, allocations: 2.848 MB / 466 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3791, allocations: 1.375 kB / 466 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.3818, allocations: 1.08 MB / 467.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.382, allocations: 170.6 kB / 467.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3821, allocations: 11.53 kB / 467.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3826, allocations: 43.42 kB / 467.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3827, allocations: 43.23 kB / 467.4 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.3827, allocations: 23.7 kB / 467.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.383, allocations: 216.6 kB / 467.6 MB, free: 3.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.383, allocations: 0 / 467.6 MB, free: 3.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009385/0.3839, allocations: 176.7 kB / 467.8 MB, free: 3.887 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.000326/0.3842, allocations: 158.6 kB / 467.9 MB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.3864, allocations: 0.8752 MB / 468.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3864, allocations: 4.125 kB / 468.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3875, allocations: 0.5221 MB / 469.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.3879, allocations: 48.69 kB / 469.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.3908, allocations: 1.235 MB / 470.6 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.3913, allocations: 0.8831 MB / 471.5 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.3916, allocations: 64 kB / 471.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3916, allocations: 0 / 471.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of Templates: time 0.01767/0.4092, allocations: 13.49 MB / 485 MB, free: 6.355 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.716897541889921]