Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.035/2.035, allocations: 230.6 MB / 258.2 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3574, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00881/0.3662, allocations: 4.557 MB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.3712, allocations: 2.02 MB / 438.9 MB, free: 124 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006416/0.3719, allocations: 19.94 kB / 438.9 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.3762, allocations: 1.302 MB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.3779, allocations: 413.4 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.3811, allocations: 1.13 MB / 441.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.3824, allocations: 0.7316 MB / 442.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.3836, allocations: 0.5867 MB / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.3841, allocations: 338.8 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.3847, allocations: 422.3 kB / 443.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3848, allocations: 68 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.3859, allocations: 411.6 kB / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.386, allocations: 167.4 kB / 444.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.3864, allocations: 302.6 kB / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.3883, allocations: 1.213 MB / 446 MB, free: 9.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3883, allocations: 0 / 446 MB, free: 9.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.3883, allocations: 3.984 kB / 446 MB, free: 9.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3883, allocations: 4 kB / 446 MB, free: 9.039 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.005702/0.394, allocations: 1.406 MB / 447.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.394, allocations: 12.03 kB / 447.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.3975, allocations: 364.1 kB / 447.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.3978, allocations: 194.3 kB / 448 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.3979, allocations: 62.38 kB / 448 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.3981, allocations: 84.38 kB / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.4004, allocations: 0.9011 MB / 449 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.4004, allocations: 7.891 kB / 449 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.4005, allocations: 36 kB / 449 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.4005, allocations: 20 kB / 449.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.4029, allocations: 0.7847 MB / 449.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/0.4086, allocations: 2.297 MB / 452.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.4101, allocations: 0.5141 MB / 452.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.4108, allocations: 214.2 kB / 452.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.4109, allocations: 24.48 kB / 452.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.4109, allocations: 35.06 kB / 452.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.877e-06/0.4109, allocations: 4 kB / 452.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0105/0.4214, allocations: 2.167 MB / 455.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.4215, allocations: 81.61 kB / 455.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.422, allocations: 307.9 kB / 455.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.422, allocations: 37.7 kB / 455.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.4224, allocations: 375.9 kB / 455.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.4226, allocations: 230 kB / 456.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.4229, allocations: 146.6 kB / 456.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4231, allocations: 350.7 kB / 456.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009454/0.424, allocations: 269.8 kB / 456.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4253, allocations: 0.5255 MB / 457.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.4275, allocations: 0.8088 MB / 458.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.4275, allocations: 3.938 kB / 458.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002798/0.4303, allocations: 0.8889 MB / 459.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.4303, allocations: 15.98 kB / 459.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.4304, allocations: 8 kB / 459.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.4307, allocations: 74.08 kB / 459.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4319, allocations: 199.7 kB / 459.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.4345, allocations: 2.611 MB / 462 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008284/0.4353, allocations: 67.89 kB / 462 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.4354, allocations: 32 kB / 462.1 MB, free: 8.199 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.0003848/0.4358, allocations: 221.7 kB / 462.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4359, allocations: 39.77 kB / 462.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.4384, allocations: 0.7296 MB / 463.1 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4384, allocations: 4 kB / 463.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4384, allocations: 0 / 463.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.4384, allocations: 3.984 kB / 463.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.4419, allocations: 1.212 MB / 464.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.442, allocations: 0 / 464.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.4429, allocations: 131.8 kB / 464.4 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.4431, allocations: 57.67 kB / 464.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.4431, allocations: 15.98 kB / 464.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.4457, allocations: 2.592 MB / 467.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.4457, allocations: 0 / 467.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.4491, allocations: 1.07 MB / 468.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.4494, allocations: 91.66 kB / 468.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.4495, allocations: 12 kB / 468.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.4501, allocations: 48.02 kB / 468.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.4503, allocations: 48.41 kB / 468.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.4503, allocations: 27.86 kB / 468.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002746/0.4506, allocations: 199.1 kB / 468.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4506, allocations: 0 / 468.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009958/0.4516, allocations: 175.9 kB / 468.7 MB, free: 1.246 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.00034/0.452, allocations: 167.1 kB / 468.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.4545, allocations: 0.8652 MB / 469.8 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4545, allocations: 0 / 469.8 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4558, allocations: 0.5312 MB / 470.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.4563, allocations: 48.91 kB / 470.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.4597, allocations: 1.188 MB / 471.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4601, allocations: 282.6 kB / 471.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004951/0.4606, allocations: 88.36 kB / 471.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.4608, allocations: 51.42 kB / 471.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4608, allocations: 0 / 471.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of Templates: time 0.02871/0.4895, allocations: 7.332 MB / 479.3 MB, free: 6.695 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.215072730003158]