Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001165/0.001165, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001193/0.001193, allocations: 164.9 kB / 24.82 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9064/0.9064, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 4 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.527e-05, allocations: 2.312 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005942/0.005958, allocations: 4.871 MB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.009769, allocations: 2.066 MB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.01012, allocations: 16 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.01201, allocations: 1.431 MB / 281.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006926/0.0127, allocations: 441.1 kB / 282.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.01404, allocations: 1.132 MB / 283.3 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.01463, allocations: 0.7663 MB / 284.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.0152, allocations: 0.5753 MB / 284.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.01561, allocations: 483 kB / 285.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.01587, allocations: 327.1 kB / 285.4 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.01593, allocations: 68 kB / 285.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.01646, allocations: 411.2 kB / 285.9 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.01653, allocations: 163.4 kB / 286 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.01668, allocations: 255.3 kB / 286.3 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.01743, allocations: 0.8953 MB / 287.2 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01743, allocations: 0 / 287.2 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01743, allocations: 0 / 287.2 MB, free: 3.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.01744, allocations: 4 kB / 287.2 MB, free: 3.297 MB / 266.7 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.002223/0.01966, allocations: 1.513 MB / 288.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.0197, allocations: 19.92 kB / 288.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.02106, allocations: 499.8 kB / 289.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.0212, allocations: 196.3 kB / 289.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.02124, allocations: 66.38 kB / 289.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.02133, allocations: 84.36 kB / 289.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009722/0.0223, allocations: 0.6536 MB / 290.2 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.02233, allocations: 192 / 290.2 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.02238, allocations: 36.38 kB / 290.2 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.02239, allocations: 23.94 kB / 290.3 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1067/0.129, allocations: 343.9 kB / 290.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.132, allocations: 2.314 MB / 292.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.1325, allocations: 390.7 kB / 293.3 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1326, allocations: 112.5 kB / 293.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/0.1327, allocations: 37.45 kB / 293.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1327, allocations: 42.83 kB / 293.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.535e-06/0.1327, allocations: 2.281 kB / 293.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002003/0.1347, allocations: 1.165 MB / 294.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1348, allocations: 84.98 kB / 294.7 MB, free: 17.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.135, allocations: 357.6 kB / 295.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.135, allocations: 34.33 kB / 295.1 MB, free: 16.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1352, allocations: 427.6 kB / 295.5 MB, free: 16.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1353, allocations: 225.9 kB / 295.8 MB, free: 16.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1354, allocations: 154.5 kB / 295.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.1355, allocations: 0.5302 MB / 296.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1356, allocations: 92.17 kB / 296.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.1359, allocations: 468.6 kB / 297 MB, free: 15.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.1363, allocations: 0.5762 MB / 297.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.1363, allocations: 3.297 kB / 297.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.000719/0.137, allocations: 0.6003 MB / 298.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.137, allocations: 8.594 kB / 298.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1371, allocations: 8.312 kB / 298.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.1373, allocations: 89.73 kB / 298.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.1377, allocations: 184.9 kB / 298.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009688/0.1387, allocations: 3.502 MB / 302 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.1389, allocations: 43.69 kB / 302 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.139, allocations: 31.83 kB / 302 MB, free: 11.65 MB / 266.7 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.0001325/0.1391, allocations: 210.2 kB / 302.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.1392, allocations: 61.17 kB / 302.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.1397, allocations: 445.7 kB / 302.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1397, allocations: 9.141 kB / 302.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1397, allocations: 3.062 kB / 302.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1397, allocations: 3.281 kB / 302.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.1407, allocations: 0.9003 MB / 303.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1407, allocations: 1.312 kB / 303.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.141, allocations: 116.5 kB / 303.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.1412, allocations: 82.47 kB / 303.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.1413, allocations: 14.66 kB / 303.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008884/0.1421, allocations: 3.488 MB / 307.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1421, allocations: 0 / 307.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.1428, allocations: 0.6331 MB / 308 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1429, allocations: 85.92 kB / 308.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1429, allocations: 20.64 kB / 308.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1431, allocations: 27.2 kB / 308.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.1432, allocations: 46.84 kB / 308.2 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1432, allocations: 22.03 kB / 308.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1433, allocations: 215.5 kB / 308.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1433, allocations: 0 / 308.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.1438, allocations: 179.4 kB / 308.6 MB, free: 7.227 MB / 266.7 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.0001855/0.144, allocations: 165.4 kB / 308.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006428/0.1447, allocations: 0.7125 MB / 309.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1447, allocations: 0 / 309.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.145, allocations: 0.5169 MB / 310 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1452, allocations: 57.44 kB / 310 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1467, allocations: 1.078 MB / 311.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.1468, allocations: 142.3 kB / 311.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.147, allocations: 85.41 kB / 311.3 MB, free: 5.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.1472, allocations: 154 kB / 311.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1472, allocations: 4 kB / 311.5 MB, free: 5.711 MB / 266.7 MB Notification: Performance of Templates: time 0.00847/0.1557, allocations: 7.081 MB / 318.5 MB, free: 2.617 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.657812152057886]