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.001276/0.001276, allocations: 116.5 kB / 18.45 MB, free: 4.602 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.001253/0.001253, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.447/1.447, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.001539/0.001539, allocations: 51.92 kB / 366.8 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 52.14 MB / 419 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007473/0.1195, allocations: 5.08 MB / 424 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.1241, allocations: 2.102 MB / 426.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.1246, allocations: 16 kB / 426.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003459/0.1281, allocations: 1.404 MB / 427.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.1298, allocations: 0.5748 MB / 428.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.1321, allocations: 1.077 MB / 429.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.1333, allocations: 0.7394 MB / 430 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.1343, allocations: 0.509 MB / 430.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.1348, allocations: 326.8 kB / 430.8 MB, free: 328 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.1354, allocations: 426.3 kB / 431.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1355, allocations: 68 kB / 431.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.1365, allocations: 395.6 kB / 431.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1366, allocations: 171.4 kB / 431.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.137, allocations: 370.1 kB / 432.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.1387, allocations: 1.199 MB / 433.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1387, allocations: 0 / 433.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1388, allocations: 0 / 433.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1388, allocations: 0 / 433.4 MB, free: 13.71 MB / 366.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.004694/0.1435, allocations: 1.469 MB / 434.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1435, allocations: 12.03 kB / 434.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.1463, allocations: 380.1 kB / 435.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1466, allocations: 256.8 kB / 435.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.1467, allocations: 70.38 kB / 435.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.1469, allocations: 80.38 kB / 435.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.1488, allocations: 0.8761 MB / 436.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.1488, allocations: 4 kB / 436.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.1489, allocations: 32 kB / 436.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.1489, allocations: 20 kB / 436.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1509, allocations: 0.8042 MB / 437.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004972/0.1558, allocations: 2.935 MB / 440.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.1573, allocations: 0.9832 MB / 441.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.1578, allocations: 218.4 kB / 441.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.158, allocations: 97.66 kB / 441.6 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.158, allocations: 35.12 kB / 441.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.006e-06/0.158, allocations: 0 / 441.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.008821/0.1668, allocations: 2.432 MB / 444.1 MB, free: 2.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.1669, allocations: 85.66 kB / 444.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.1673, allocations: 299.2 kB / 444.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.1674, allocations: 37.7 kB / 444.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.1676, allocations: 371.9 kB / 444.8 MB, free: 1.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.1678, allocations: 222.1 kB / 445.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.1681, allocations: 150.6 kB / 445.2 MB, free: 1.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1683, allocations: 350.8 kB / 445.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008583/0.1692, allocations: 269.8 kB / 445.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.1703, allocations: 0.5042 MB / 446.3 MB, free: 84 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2259/0.3961, allocations: 0.8118 MB / 447.1 MB, free: 29.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3961, allocations: 7.188 kB / 447.1 MB, free: 29.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00212/0.3983, allocations: 0.8978 MB / 448 MB, free: 29.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3983, allocations: 10 kB / 448 MB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3983, allocations: 10.41 kB / 448 MB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.3985, allocations: 68.78 kB / 448.1 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.3994, allocations: 203.6 kB / 448.3 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.4008, allocations: 2.87 MB / 451.2 MB, free: 26.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.4015, allocations: 65.64 kB / 451.2 MB, free: 26.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.4016, allocations: 37.69 kB / 451.3 MB, free: 26.43 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.0002515/0.4018, allocations: 216.7 kB / 451.5 MB, free: 26.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.4019, allocations: 47.86 kB / 451.5 MB, free: 26.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.4039, allocations: 0.7414 MB / 452.3 MB, free: 26.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4039, allocations: 6.672 kB / 452.3 MB, free: 26.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4039, allocations: 9.438 kB / 452.3 MB, free: 26.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4039, allocations: 5.016 kB / 452.3 MB, free: 26.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.4065, allocations: 1.407 MB / 453.7 MB, free: 25.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4065, allocations: 0.6562 kB / 453.7 MB, free: 25.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.4072, allocations: 139.2 kB / 453.8 MB, free: 25.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.4074, allocations: 57.62 kB / 453.9 MB, free: 25.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.4075, allocations: 16.12 kB / 453.9 MB, free: 25.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.4089, allocations: 2.851 MB / 456.8 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4089, allocations: 8.562 kB / 456.8 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.4121, allocations: 1.093 MB / 457.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.4123, allocations: 166.6 kB / 458 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.4124, allocations: 11.97 kB / 458 MB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.4129, allocations: 46.62 kB / 458.1 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.4131, allocations: 48.25 kB / 458.1 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.4131, allocations: 20.31 kB / 458.2 MB, free: 22.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.4134, allocations: 205.8 kB / 458.4 MB, free: 22.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4134, allocations: 1.281 kB / 458.4 MB, free: 22.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00116/0.4146, allocations: 178.7 kB / 458.5 MB, free: 22.53 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.0002744/0.4148, allocations: 160 kB / 458.7 MB, free: 22.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.4169, allocations: 0.8877 MB / 459.6 MB, free: 21.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4169, allocations: 0 / 459.6 MB, free: 21.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009889/0.4179, allocations: 0.5265 MB / 460.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4184, allocations: 52.44 kB / 460.2 MB, free: 21.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.4209, allocations: 1.287 MB / 461.4 MB, free: 20.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.4213, allocations: 0.8819 MB / 462.3 MB, free: 20.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.4215, allocations: 63.55 kB / 462.4 MB, free: 20.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4215, allocations: 0 / 462.4 MB, free: 20.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01742/0.4389, allocations: 13.19 MB / 475.6 MB, free: 15.6 MB / 366.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.848458644002676]