Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 227.7 MB / 247.7 MB, free: 10.41 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 64.56 kB / 307.9 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1097, allocations: 50.54 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006922/0.1167, allocations: 5.079 MB / 363.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.1206, allocations: 2.152 MB / 365.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.1209, allocations: 16 kB / 365.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003476/0.1245, allocations: 1.403 MB / 367.1 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1258, allocations: 425.4 kB / 367.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.1285, allocations: 1.197 MB / 368.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.1297, allocations: 0.7433 MB / 369.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.131, allocations: 0.6692 MB / 370.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006423/0.1317, allocations: 326.8 kB / 370.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.1324, allocations: 438.3 kB / 370.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.1327, allocations: 68 kB / 370.9 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1338, allocations: 411.6 kB / 371.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.134, allocations: 171.4 kB / 371.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.1346, allocations: 386.1 kB / 371.9 MB, free: 484 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1965/0.3311, allocations: 1.193 MB / 373.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3311, allocations: 1.516 kB / 373.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3311, allocations: 0.6875 kB / 373.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.3311, allocations: 0 / 373.1 MB, free: 11.64 MB / 302.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.005083/0.3362, allocations: 1.468 MB / 374.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3363, allocations: 8.75 kB / 374.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.339, allocations: 383.2 kB / 374.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3394, allocations: 270.1 kB / 375.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.3395, allocations: 60.62 kB / 375.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3397, allocations: 84.66 kB / 375.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.3418, allocations: 0.873 MB / 376.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.3419, allocations: 1.031 kB / 376.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.342, allocations: 34.84 kB / 376.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.342, allocations: 20.47 kB / 376.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.344, allocations: 0.8056 MB / 377.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/0.3489, allocations: 3.038 MB / 380.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.3502, allocations: 1.004 MB / 381.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.3507, allocations: 242.9 kB / 381.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.3509, allocations: 172.5 kB / 381.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3509, allocations: 42.66 kB / 381.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.046e-06/0.3509, allocations: 0 / 381.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007841/0.3587, allocations: 2.397 MB / 383.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.3589, allocations: 91.02 kB / 384 MB, free: 7.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.3594, allocations: 319 kB / 384.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.3595, allocations: 35.95 kB / 384.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.3598, allocations: 362.6 kB / 384.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.36, allocations: 209 kB / 384.9 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.3603, allocations: 143.7 kB / 385.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3604, allocations: 351.4 kB / 385.4 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.3613, allocations: 272 kB / 385.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/0.3622, allocations: 0.5062 MB / 386.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.3639, allocations: 0.813 MB / 387 MB, free: 5.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.3639, allocations: 3.094 kB / 387 MB, free: 5.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002151/0.366, allocations: 0.8992 MB / 387.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3661, allocations: 7.781 kB / 387.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3661, allocations: 6.75 kB / 387.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.3664, allocations: 74.45 kB / 388 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.3672, allocations: 202.9 kB / 388.2 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.3688, allocations: 2.872 MB / 391.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/0.3695, allocations: 62.86 kB / 391.1 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.3696, allocations: 36.44 kB / 391.2 MB, free: 1.922 MB / 302.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.0003259/0.3699, allocations: 220.6 kB / 391.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.37, allocations: 39.06 kB / 391.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.3719, allocations: 0.7323 MB / 392.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3719, allocations: 5.656 kB / 392.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3719, allocations: 3.625 kB / 392.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3719, allocations: 9.953 kB / 392.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.3745, allocations: 1.427 MB / 393.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3745, allocations: 0 / 393.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.3751, allocations: 130.8 kB / 393.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.3753, allocations: 62.83 kB / 393.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.3753, allocations: 12.25 kB / 393.8 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.3774, allocations: 2.851 MB / 396.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3774, allocations: 1.094 kB / 396.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.3801, allocations: 1.079 MB / 397.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.3804, allocations: 161.2 kB / 397.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.3805, allocations: 18.72 kB / 397.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.381, allocations: 49.41 kB / 398 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3811, allocations: 42.48 kB / 398 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.3811, allocations: 18.2 kB / 398 MB, free: 13.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.3814, allocations: 217.4 kB / 398.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3814, allocations: 0 / 398.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009456/0.3824, allocations: 186.3 kB / 398.4 MB, free: 12.99 MB / 318.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.0003618/0.3828, allocations: 163.5 kB / 398.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.3852, allocations: 0.9368 MB / 399.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3853, allocations: 2.625 kB / 399.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3864, allocations: 0.5561 MB / 400.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.3869, allocations: 43.66 kB / 400.1 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.3901, allocations: 1.277 MB / 401.4 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.3907, allocations: 0.8854 MB / 402.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3909, allocations: 52.39 kB / 402.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3909, allocations: 3.875 kB / 402.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Templates: time 0.01802/0.4089, allocations: 13.2 MB / 415.5 MB, free: 15.12 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches