Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001874/0.001874, allocations: 118.4 kB / 18.41 MB, free: 4.633 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.002185/0.002185, allocations: 190.7 kB / 21.35 MB, free: 1.699 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.471/1.471, allocations: 222.9 MB / 247 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.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 55.91 kB / 358.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1148, allocations: 49.44 MB / 408.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007163/0.1221, allocations: 5.059 MB / 413.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004129/0.1262, allocations: 2.105 MB / 415.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.1269, allocations: 16 kB / 415.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.1304, allocations: 1.395 MB / 416.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.1322, allocations: 0.5787 MB / 417.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.1344, allocations: 1.055 MB / 418.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.1355, allocations: 0.7511 MB / 419.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.1366, allocations: 0.665 MB / 419.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.1372, allocations: 330.8 kB / 420.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.1378, allocations: 438.2 kB / 420.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1379, allocations: 68 kB / 420.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1389, allocations: 391.7 kB / 420.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1391, allocations: 167.4 kB / 421.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.1395, allocations: 382.1 kB / 421.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.1412, allocations: 1.203 MB / 422.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1412, allocations: 0 / 422.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1412, allocations: 0 / 422.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1412, allocations: 0 / 422.7 MB, free: 8.188 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.004526/0.1457, allocations: 1.478 MB / 424.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1458, allocations: 8.031 kB / 424.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.1484, allocations: 388.1 kB / 424.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1488, allocations: 263.9 kB / 424.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.1489, allocations: 62.38 kB / 424.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.149, allocations: 80.38 kB / 424.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.1509, allocations: 0.8835 MB / 425.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.151, allocations: 0 / 425.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.1511, allocations: 36 kB / 425.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.1511, allocations: 20 kB / 425.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.153, allocations: 0.8003 MB / 426.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.1578, allocations: 2.946 MB / 429.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2184/0.3762, allocations: 1.007 MB / 430.6 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.377, allocations: 243 kB / 430.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.763e-05/0.3771, allocations: 95.36 kB / 431 MB, free: 21.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3771, allocations: 37.84 kB / 431 MB, free: 21.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.324e-06/0.3771, allocations: 0 / 431 MB, free: 21.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007801/0.3849, allocations: 2.435 MB / 433.4 MB, free: 21.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.385, allocations: 83.56 kB / 433.5 MB, free: 20.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.3853, allocations: 317.8 kB / 433.8 MB, free: 20.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3854, allocations: 39.8 kB / 433.9 MB, free: 20.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3855, allocations: 377.1 kB / 434.2 MB, free: 20.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.3856, allocations: 219.7 kB / 434.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.3859, allocations: 147 kB / 434.6 MB, free: 20.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.386, allocations: 352.6 kB / 434.9 MB, free: 20.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008209/0.3868, allocations: 273.2 kB / 435.2 MB, free: 20.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/0.3877, allocations: 0.5108 MB / 435.7 MB, free: 19.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.3896, allocations: 0.8094 MB / 436.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3896, allocations: 1.312 kB / 436.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002259/0.3918, allocations: 0.9146 MB / 437.4 MB, free: 19.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3919, allocations: 9.328 kB / 437.5 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.3919, allocations: 7.531 kB / 437.5 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.3922, allocations: 70.48 kB / 437.5 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/0.3931, allocations: 202.7 kB / 437.7 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.3945, allocations: 2.873 MB / 440.6 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.3952, allocations: 64.06 kB / 440.7 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.3953, allocations: 41.55 kB / 440.7 MB, free: 16.75 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.0002512/0.3956, allocations: 212.1 kB / 440.9 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.3957, allocations: 44.78 kB / 441 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.3977, allocations: 0.7515 MB / 441.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3978, allocations: 8.25 kB / 441.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3978, allocations: 1.812 kB / 441.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3978, allocations: 7.844 kB / 441.7 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.4005, allocations: 1.423 MB / 443.1 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4005, allocations: 6.734 kB / 443.2 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/0.4012, allocations: 131.7 kB / 443.3 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.4014, allocations: 59.98 kB / 443.3 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.4014, allocations: 17.28 kB / 443.4 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.4028, allocations: 2.851 MB / 446.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4028, allocations: 3.875 kB / 446.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.4055, allocations: 1.089 MB / 447.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.4058, allocations: 163.5 kB / 447.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.4059, allocations: 18.81 kB / 447.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.4064, allocations: 48.09 kB / 447.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.4066, allocations: 46.52 kB / 447.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.4066, allocations: 20.95 kB / 447.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.4068, allocations: 220.4 kB / 447.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4068, allocations: 1.312 kB / 447.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007501/0.4076, allocations: 179.6 kB / 448 MB, free: 13.01 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.0002578/0.4079, allocations: 163.7 kB / 448.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.4101, allocations: 0.9195 MB / 449.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4101, allocations: 3.375 kB / 449.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4112, allocations: 0.5525 MB / 449.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.4116, allocations: 49.86 kB / 449.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.4142, allocations: 1.291 MB / 451 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.4146, allocations: 0.8821 MB / 451.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4148, allocations: 62.41 kB / 451.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4148, allocations: 2.297 kB / 451.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Templates: time 0.01464/0.4295, allocations: 13.3 MB / 465.2 MB, free: 5.645 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.000848344992846]