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.QuadraticCoreAirgap.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.001681/0.001681, allocations: 109.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.001918/0.001918, allocations: 208.9 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.436/1.436, allocations: 230.4 MB / 255.4 MB, free: 15.03 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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [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.001881/0.001881, allocations: 67.84 kB / 374.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09572, allocations: 53.31 MB / 428.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.1964/0.2922, allocations: 6.743 MB / 434.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.2958, allocations: 2.476 MB / 437.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/0.2963, allocations: 22.31 kB / 437.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00338/0.2997, allocations: 1.894 MB / 439.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.3009, allocations: 0.5368 MB / 439.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.3031, allocations: 1.34 MB / 441.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3043, allocations: 1.119 MB / 442.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.3053, allocations: 0.7137 MB / 442.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.3059, allocations: 482.6 kB / 443.4 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/0.3065, allocations: 0.6243 MB / 444 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.3066, allocations: 100.2 kB / 444.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000923/0.3076, allocations: 449.8 kB / 444.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3077, allocations: 243.5 kB / 444.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.3082, allocations: 0.564 MB / 445.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.31, allocations: 1.668 MB / 447 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.31, allocations: 0 / 447 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.31, allocations: 5.156 kB / 447 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.3101, allocations: 0 / 447 MB, free: 2.379 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.00608/0.3161, allocations: 2.06 MB / 449.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3162, allocations: 8.625 kB / 449.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.3197, allocations: 494.4 kB / 449.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.32, allocations: 310.2 kB / 449.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.32, allocations: 99.45 kB / 450 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.3202, allocations: 128.2 kB / 450.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.3226, allocations: 1.301 MB / 451.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.3226, allocations: 7.312 kB / 451.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3227, allocations: 50.66 kB / 451.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.3227, allocations: 35.44 kB / 451.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.3252, allocations: 1.186 MB / 452.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006918/0.3321, allocations: 4.285 MB / 457 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.3348, allocations: 2.346 MB / 459.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/0.3357, allocations: 463.3 kB / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.3359, allocations: 198.2 kB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.336, allocations: 53.59 kB / 460 MB, free: 10.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.955e-06/0.336, allocations: 0 / 460 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01058/0.3466, allocations: 3.775 MB / 463.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.3466, allocations: 90.08 kB / 463.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.3472, allocations: 393.5 kB / 464.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.3472, allocations: 45.61 kB / 464.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.3475, allocations: 466.4 kB / 464.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.3479, allocations: 454.3 kB / 465.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.3483, allocations: 226.3 kB / 465.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3485, allocations: 376.2 kB / 465.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3495, allocations: 432.3 kB / 466.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.3508, allocations: 0.6895 MB / 466.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.3531, allocations: 1.184 MB / 468.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3531, allocations: 1.188 kB / 468.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003085/0.3562, allocations: 1.468 MB / 469.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3562, allocations: 7.812 kB / 469.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3562, allocations: 10.66 kB / 469.6 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/0.3568, allocations: 198.2 kB / 469.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.3579, allocations: 287.7 kB / 470 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/0.3624, allocations: 4.373 MB / 474.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/0.3633, allocations: 75.64 kB / 474.5 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/0.3634, allocations: 56.52 kB / 474.5 MB, free: 240 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004757/0.3639, allocations: 267.9 kB / 474.8 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.364, allocations: 72.3 kB / 474.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.3671, allocations: 1.332 MB / 476.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3671, allocations: 16.31 kB / 476.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3671, allocations: 4.312 kB / 476.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3671, allocations: 6.516 kB / 476.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/0.3719, allocations: 2.603 MB / 478.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3719, allocations: 0 / 478.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/0.3729, allocations: 219.8 kB / 479 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.3734, allocations: 163.2 kB / 479.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.3734, allocations: 31.98 kB / 479.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/0.3776, allocations: 4.181 MB / 483.4 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3776, allocations: 4 kB / 483.4 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/0.3816, allocations: 1.866 MB / 485.3 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.382, allocations: 228.6 kB / 485.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.3821, allocations: 26.56 kB / 485.5 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.3827, allocations: 60.05 kB / 485.6 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.3829, allocations: 92.75 kB / 485.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.383, allocations: 40.05 kB / 485.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.3833, allocations: 267.2 kB / 486 MB, free: 5.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3833, allocations: 0 / 486 MB, free: 5.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00117/0.3845, allocations: 308 kB / 486.3 MB, free: 4.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/0.3848, allocations: 179 kB / 486.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.3877, allocations: 1.387 MB / 487.9 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3877, allocations: 0 / 487.9 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.3892, allocations: 0.8193 MB / 488.7 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.3897, allocations: 65.75 kB / 488.7 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.3937, allocations: 1.93 MB / 490.7 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.3944, allocations: 1.005 MB / 491.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.3948, allocations: 95.39 kB / 491.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3948, allocations: 4 kB / 491.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of Templates: time 0.02552/0.4203, allocations: 20.22 MB / 0.5 GB, free: 11.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 8.002195964101702]