Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 118.5 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 189.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 51.91 kB / 358.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 49.44 MB / 408.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007177/0.1132, allocations: 5.051 MB / 413.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.1175, allocations: 2.086 MB / 415.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/0.1182, allocations: 16 kB / 415.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.1218, allocations: 1.404 MB / 416.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.1235, allocations: 0.571 MB / 417.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.1259, allocations: 1.064 MB / 418.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.1276, allocations: 0.7394 MB / 419 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.129, allocations: 0.6534 MB / 419.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.1297, allocations: 330.8 kB / 420 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.1305, allocations: 430.3 kB / 420.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.1306, allocations: 68 kB / 420.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1317, allocations: 391.6 kB / 420.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.1319, allocations: 171.4 kB / 421.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.1325, allocations: 370.1 kB / 421.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.1347, allocations: 1.199 MB / 422.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1347, allocations: 0 / 422.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1347, allocations: 0 / 422.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.257e-05/0.1348, allocations: 0 / 422.6 MB, free: 8.266 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.005223/0.14, allocations: 1.465 MB / 424.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1401, allocations: 12.03 kB / 424.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.1428, allocations: 384.1 kB / 424.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.1431, allocations: 260.8 kB / 424.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.1432, allocations: 66.38 kB / 424.8 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.1434, allocations: 80.38 kB / 424.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.1454, allocations: 0.8761 MB / 425.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.1454, allocations: 8 kB / 425.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/0.1455, allocations: 28 kB / 425.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.1456, allocations: 28 kB / 425.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.1477, allocations: 0.7964 MB / 426.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.1527, allocations: 2.943 MB / 429.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2319/0.3846, allocations: 1.01 MB / 430.6 MB, free: 21.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/0.3855, allocations: 238.9 kB / 430.8 MB, free: 21.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.3856, allocations: 96.55 kB / 430.9 MB, free: 21.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3857, allocations: 39.62 kB / 430.9 MB, free: 21.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.886e-06/0.3857, allocations: 0 / 430.9 MB, free: 21.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008416/0.3941, allocations: 2.42 MB / 433.3 MB, free: 21.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.3942, allocations: 89.47 kB / 433.4 MB, free: 21.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.3947, allocations: 304.5 kB / 433.7 MB, free: 20.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.3947, allocations: 36.08 kB / 433.8 MB, free: 20.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.395, allocations: 369.6 kB / 434.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.3952, allocations: 224.2 kB / 434.3 MB, free: 20.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.3955, allocations: 156.4 kB / 434.5 MB, free: 20.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3956, allocations: 348.1 kB / 434.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008899/0.3965, allocations: 271 kB / 435.1 MB, free: 20.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.3975, allocations: 0.5089 MB / 435.6 MB, free: 19.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.3996, allocations: 0.8087 MB / 436.4 MB, free: 19.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3996, allocations: 2.125 kB / 436.4 MB, free: 19.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002297/0.4019, allocations: 0.9057 MB / 437.3 MB, free: 19.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4019, allocations: 7.781 kB / 437.3 MB, free: 19.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.402, allocations: 11.31 kB / 437.3 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.4022, allocations: 68.02 kB / 437.4 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.4031, allocations: 201.9 kB / 437.6 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.4047, allocations: 2.873 MB / 440.5 MB, free: 16.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.4054, allocations: 66.78 kB / 440.5 MB, free: 16.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.4055, allocations: 42.83 kB / 440.6 MB, free: 16.83 MB / 350.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.0002803/0.4058, allocations: 214.6 kB / 440.8 MB, free: 16.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.4059, allocations: 40.02 kB / 440.8 MB, free: 16.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.4079, allocations: 0.7507 MB / 441.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4079, allocations: 8.406 kB / 441.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.408, allocations: 1.938 kB / 441.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.408, allocations: 3.281 kB / 441.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.4108, allocations: 1.425 MB / 443 MB, free: 16.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4108, allocations: 0 / 443 MB, free: 16.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.4115, allocations: 135.8 kB / 443.2 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/0.4117, allocations: 54.78 kB / 443.2 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.4118, allocations: 15.47 kB / 443.2 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.4132, allocations: 2.854 MB / 446.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4132, allocations: 0 / 446.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.416, allocations: 1.095 MB / 447.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.4163, allocations: 161.6 kB / 447.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.4163, allocations: 16.83 kB / 447.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.417, allocations: 51.56 kB / 447.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.4172, allocations: 47.06 kB / 447.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.4172, allocations: 19.84 kB / 447.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.4175, allocations: 209.5 kB / 447.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.4175, allocations: 4 kB / 447.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008857/0.4184, allocations: 179.4 kB / 447.8 MB, free: 13.08 MB / 350.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.0002773/0.4187, allocations: 153.2 kB / 448 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.421, allocations: 0.913 MB / 448.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.421, allocations: 3.734 kB / 448.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.4221, allocations: 0.5544 MB / 449.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.4226, allocations: 45.45 kB / 449.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.4253, allocations: 1.282 MB / 450.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.4257, allocations: 0.8836 MB / 451.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.4259, allocations: 65.5 kB / 451.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4259, allocations: 0 / 451.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Templates: time 0.01728/0.4432, allocations: 13.15 MB / 464.9 MB, free: 5.805 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.971919120987877]