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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009583, allocations: 101.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008572/0.0008575, allocations: 47.92 kB / 350.1 MB, free: 44 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2024, allocations: 49.42 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004474/0.2069, allocations: 5.067 MB / 404.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.2094, allocations: 2.075 MB / 406.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.2096, allocations: 19.94 kB / 406.6 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.2118, allocations: 1.326 MB / 408 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009019/0.2127, allocations: 0.5163 MB / 408.5 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.2143, allocations: 1.028 MB / 409.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.2149, allocations: 0.72 MB / 410.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006902/0.2156, allocations: 0.5908 MB / 410.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.2159, allocations: 322.7 kB / 411.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.2162, allocations: 422.3 kB / 411.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.866e-05/0.2163, allocations: 59.98 kB / 411.6 MB, free: 21.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.2168, allocations: 367.7 kB / 412 MB, free: 20.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.2169, allocations: 139.5 kB / 412.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.2171, allocations: 374 kB / 412.5 MB, free: 20.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.218, allocations: 1.168 MB / 413.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.218, allocations: 4 kB / 413.6 MB, free: 19.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.218, allocations: 0 / 413.6 MB, free: 19.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.218, allocations: 0 / 413.6 MB, free: 19.15 MB / 298.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.003591/0.2216, allocations: 1.451 MB / 415.1 MB, free: 17.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2216, allocations: 16.02 kB / 415.1 MB, free: 17.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.2239, allocations: 383.7 kB / 415.5 MB, free: 17.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.2241, allocations: 255.2 kB / 415.7 MB, free: 16.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.2242, allocations: 62.38 kB / 415.8 MB, free: 16.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.2243, allocations: 92.3 kB / 415.9 MB, free: 16.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.2256, allocations: 0.872 MB / 416.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.2257, allocations: 8 kB / 416.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.2258, allocations: 31.98 kB / 416.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.2258, allocations: 23.94 kB / 416.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.2273, allocations: 0.8042 MB / 417.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.2307, allocations: 2.973 MB / 420.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.2317, allocations: 0.9927 MB / 421.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.2321, allocations: 246.4 kB / 421.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.2322, allocations: 97.64 kB / 421.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.2323, allocations: 35.12 kB / 422 MB, free: 10.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.144e-06/0.2323, allocations: 0 / 422 MB, free: 10.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.006926/0.2392, allocations: 2.423 MB / 424.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.2392, allocations: 89.66 kB / 424.5 MB, free: 7.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.2395, allocations: 312.4 kB / 424.8 MB, free: 7.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.2395, allocations: 33.7 kB / 424.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2397, allocations: 362.6 kB / 425.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.2398, allocations: 212.9 kB / 425.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.24, allocations: 158.4 kB / 425.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.2401, allocations: 350.7 kB / 425.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.2408, allocations: 277.8 kB / 426.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.2416, allocations: 0.5121 MB / 426.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.243, allocations: 0.8153 MB / 427.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2431, allocations: 4 kB / 427.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001824/0.2449, allocations: 0.8987 MB / 428.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2449, allocations: 12 kB / 428.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2449, allocations: 7.938 kB / 428.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.2452, allocations: 69.66 kB / 428.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/0.2459, allocations: 203.7 kB / 428.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.2472, allocations: 2.664 MB / 431.3 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.2478, allocations: 64.08 kB / 431.4 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.2479, allocations: 39.98 kB / 431.4 MB, free: 292 kB / 298.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.0002197/0.2481, allocations: 217.5 kB / 431.6 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.2482, allocations: 39.53 kB / 431.7 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.2501, allocations: 0.7508 MB / 432.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2501, allocations: 4 kB / 432.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2501, allocations: 4 kB / 432.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2502, allocations: 3.984 kB / 432.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.2527, allocations: 1.43 MB / 433.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2528, allocations: 8 kB / 433.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.2534, allocations: 135.8 kB / 434 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.2536, allocations: 57.67 kB / 434.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.2537, allocations: 23.98 kB / 434.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.2554, allocations: 2.636 MB / 436.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2554, allocations: 4 kB / 436.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.2595, allocations: 2.379 MB / 439.1 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.2597, allocations: 168.6 kB / 439.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.2598, allocations: 15.94 kB / 439.3 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.2603, allocations: 47.95 kB / 439.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.2604, allocations: 44.48 kB / 439.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.2605, allocations: 23.98 kB / 439.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002063/0.2607, allocations: 219.1 kB / 439.6 MB, free: 7.578 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2607, allocations: 4 kB / 439.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008163/0.2615, allocations: 200 kB / 439.8 MB, free: 7.379 MB / 314.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.0002565/0.2618, allocations: 163 kB / 440 MB, free: 7.211 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.2638, allocations: 0.9163 MB / 440.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2638, allocations: 0 / 440.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.2649, allocations: 0.5512 MB / 441.4 MB, free: 5.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.2653, allocations: 45.58 kB / 441.5 MB, free: 5.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.2685, allocations: 1.901 MB / 443.4 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.269, allocations: 0.8966 MB / 444.3 MB, free: 2.785 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004914/0.2695, allocations: 92.53 kB / 444.4 MB, free: 2.691 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.2696, allocations: 55.41 kB / 444.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2697, allocations: 0 / 444.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of Templates: time 0.0119/0.2816, allocations: 6.307 MB / 450.7 MB, free: 12.38 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches