Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001774/0.001774, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002199/0.002199, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.182/2.182, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 43.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3647, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.01981/0.3845, allocations: 4.588 MB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.389, allocations: 2.02 MB / 439 MB, free: 120 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.3893, allocations: 16 kB / 439 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.4019, allocations: 1.31 MB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.4035, allocations: 413.4 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.4065, allocations: 1.138 MB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.4076, allocations: 0.7395 MB / 442.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.4088, allocations: 0.5828 MB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.4093, allocations: 350.8 kB / 443.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/0.4217, allocations: 426.3 kB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.4219, allocations: 68 kB / 444 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.4231, allocations: 407.7 kB / 444.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.4233, allocations: 171.4 kB / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.4237, allocations: 310.5 kB / 444.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.4256, allocations: 1.229 MB / 446.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4256, allocations: 0 / 446.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4256, allocations: 0 / 446.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.4256, allocations: 0 / 446.1 MB, free: 8.988 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.01456/0.4402, allocations: 1.413 MB / 447.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4402, allocations: 8.031 kB / 447.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.4437, allocations: 368.1 kB / 447.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.444, allocations: 201.5 kB / 448 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.11e-05/0.4441, allocations: 62.38 kB / 448.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.4443, allocations: 88.36 kB / 448.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.4467, allocations: 0.8969 MB / 449.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.4467, allocations: 7.953 kB / 449.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.4469, allocations: 32 kB / 449.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.4469, allocations: 20 kB / 449.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.4493, allocations: 0.7886 MB / 449.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/0.4548, allocations: 2.293 MB / 452.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.4563, allocations: 0.5063 MB / 452.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/0.4569, allocations: 218.2 kB / 452.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.457, allocations: 28.47 kB / 453 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.4571, allocations: 43.06 kB / 453 MB, free: 1.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.557e-06/0.4571, allocations: 0 / 453 MB, free: 1.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.009367/0.4665, allocations: 2.167 MB / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.4665, allocations: 89.59 kB / 455.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.467, allocations: 315.9 kB / 455.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.467, allocations: 37.7 kB / 455.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.4673, allocations: 375.9 kB / 456 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.4676, allocations: 226.1 kB / 456.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.4679, allocations: 146.5 kB / 456.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4681, allocations: 354.7 kB / 456.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000933/0.469, allocations: 269.8 kB / 457 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.4702, allocations: 0.5255 MB / 457.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.4724, allocations: 0.8166 MB / 458.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4724, allocations: 0 / 458.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002753/0.4752, allocations: 0.8927 MB / 459.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.4752, allocations: 8 kB / 459.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.4752, allocations: 12.56 kB / 459.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.4756, allocations: 77.61 kB / 459.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.4767, allocations: 191.7 kB / 459.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.4793, allocations: 2.619 MB / 462.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/0.4801, allocations: 64.03 kB / 462.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.4802, allocations: 39.98 kB / 462.2 MB, free: 8.105 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.0004347/0.4807, allocations: 217.5 kB / 462.4 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.4808, allocations: 39.77 kB / 462.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.4833, allocations: 0.7219 MB / 463.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4834, allocations: 8 kB / 463.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4834, allocations: 0 / 463.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.4834, allocations: 7.984 kB / 463.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.4867, allocations: 1.212 MB / 464.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4867, allocations: 0 / 464.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/0.4876, allocations: 135.8 kB / 464.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.4878, allocations: 61.61 kB / 464.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.4879, allocations: 19.98 kB / 464.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.4903, allocations: 2.592 MB / 467.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4903, allocations: 0 / 467.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.4937, allocations: 1.074 MB / 468.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.494, allocations: 91.73 kB / 468.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.4941, allocations: 12 kB / 468.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.4947, allocations: 43.95 kB / 468.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.4949, allocations: 52.28 kB / 468.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.4949, allocations: 19.98 kB / 468.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.4952, allocations: 211.1 kB / 468.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4952, allocations: 0 / 468.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009388/0.4962, allocations: 183.9 kB / 468.9 MB, free: 1.129 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.0003137/0.4965, allocations: 163.2 kB / 469 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.499, allocations: 0.876 MB / 469.9 MB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.499, allocations: 0 / 469.9 MB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.5002, allocations: 0.5205 MB / 470.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.5008, allocations: 44.64 kB / 470.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.5041, allocations: 1.202 MB / 471.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5044, allocations: 290.7 kB / 472 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004415/0.5088, allocations: 84.41 kB / 472 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.5091, allocations: 55.41 kB / 472.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5091, allocations: 0 / 472.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01841/0.5275, allocations: 7.426 MB / 479.5 MB, free: 6.477 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.308220956008881]