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.00172/0.00172, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001343/0.001343, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.464/1.464, allocations: 230.4 MB / 258.1 MB, free: 8.125 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.001914/0.001914, allocations: 76 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1998, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006588/0.2064, allocations: 5.107 MB / 437.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.2096, allocations: 2.18 MB / 439.4 MB, free: 36 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.2098, allocations: 19.94 kB / 439.4 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.2128, allocations: 1.408 MB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008799/0.2137, allocations: 424.3 kB / 441.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.2159, allocations: 1.206 MB / 442.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008019/0.2167, allocations: 0.7355 MB / 443.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007898/0.2175, allocations: 0.5027 MB / 443.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.2179, allocations: 334.8 kB / 444 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.2184, allocations: 426.3 kB / 444.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.101e-05/0.2184, allocations: 68 kB / 444.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.2191, allocations: 411.6 kB / 444.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.2192, allocations: 171.4 kB / 445 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.2196, allocations: 374.1 kB / 445.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.2209, allocations: 1.214 MB / 446.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2209, allocations: 0 / 446.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2209, allocations: 0 / 446.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2209, allocations: 0 / 446.6 MB, free: 8.762 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.004331/0.2252, allocations: 1.477 MB / 448.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2253, allocations: 8.031 kB / 448.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.2279, allocations: 372.1 kB / 448.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.2282, allocations: 256.2 kB / 448.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.2282, allocations: 62.38 kB / 448.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.2284, allocations: 84.38 kB / 448.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.23, allocations: 0.876 MB / 449.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.2301, allocations: 3.953 kB / 449.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.2302, allocations: 36 kB / 449.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.2302, allocations: 24 kB / 449.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.232, allocations: 0.7886 MB / 450.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.2365, allocations: 3.026 MB / 453.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.2379, allocations: 0.9538 MB / 454.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.2384, allocations: 222.4 kB / 454.8 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.2386, allocations: 174.8 kB / 454.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.2386, allocations: 43.12 kB / 455 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 1.893e-06/0.2386, allocations: 0 / 455 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007575/0.2462, allocations: 2.397 MB / 457.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.2463, allocations: 85.67 kB / 457.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.2466, allocations: 303.2 kB / 457.8 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.2466, allocations: 29.7 kB / 457.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.2469, allocations: 375.8 kB / 458.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.247, allocations: 222.2 kB / 458.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.2473, allocations: 146.6 kB / 458.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2474, allocations: 346.8 kB / 458.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.2482, allocations: 277.8 kB / 459.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009845/0.2492, allocations: 0.5042 MB / 459.6 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.251, allocations: 0.8076 MB / 460.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.251, allocations: 7.875 kB / 460.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002148/0.2531, allocations: 0.8872 MB / 461.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2532, allocations: 8 kB / 461.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2532, allocations: 12 kB / 461.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.2534, allocations: 73.61 kB / 461.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.2543, allocations: 195.7 kB / 461.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.2567, allocations: 2.861 MB / 464.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.2573, allocations: 64.06 kB / 464.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.2574, allocations: 36 kB / 464.6 MB, free: 5.652 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.0002911/0.2577, allocations: 217.6 kB / 464.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2578, allocations: 47.66 kB / 464.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.2598, allocations: 0.7312 MB / 465.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2598, allocations: 3.984 kB / 465.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2598, allocations: 0 / 465.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.26, allocations: 160.8 kB / 465.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.26, allocations: 15.94 kB / 465.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.2606, allocations: 51.94 kB / 465.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.2607, allocations: 40.5 kB / 465.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002243/0.2629, allocations: 0.7852 MB / 466.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002471/0.2654, allocations: 1.091 MB / 467.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007117/0.2661, allocations: 256.3 kB / 468 MB, free: 2.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.2663, allocations: 211 kB / 468.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of Backend: time 3.51e-07/0.2663, allocations: 0 / 468.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.2683, allocations: 0.9047 MB / 469.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of SimCode: time 0.001841/0.2701, allocations: 1.497 MB / 470.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01918/0.2893, allocations: 11.34 MB / 481.9 MB, free: 4.207 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: 4.652598639018834]