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) 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 113.7 kB / 17.74 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 47.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2635, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006384/0.2699, allocations: 5.085 MB / 406.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.2734, allocations: 2.094 MB / 408.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.2737, allocations: 19.94 kB / 408.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.2767, allocations: 1.4 MB / 410 MB, free: 244 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.278, allocations: 0.5733 MB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.2799, allocations: 1.05 MB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008345/0.2808, allocations: 0.7531 MB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009189/0.2817, allocations: 0.6585 MB / 413 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.2821, allocations: 334.8 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.2826, allocations: 430.3 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.2827, allocations: 68 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007331/0.2834, allocations: 395.6 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2835, allocations: 167.4 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.2839, allocations: 378.1 kB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.285, allocations: 1.203 MB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2851, allocations: 4 kB / 416 MB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2851, allocations: 0 / 416 MB, free: 10.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2851, allocations: 0 / 416 MB, free: 10.24 MB / 334.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.004225/0.2893, allocations: 1.451 MB / 417.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2893, allocations: 11.97 kB / 417.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.292, allocations: 383.6 kB / 417.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2922, allocations: 255.8 kB / 418.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.2922, allocations: 62.36 kB / 418.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.2924, allocations: 88.28 kB / 418.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.294, allocations: 0.8796 MB / 419.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.294, allocations: 4 kB / 419.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.2941, allocations: 35.98 kB / 419.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.2941, allocations: 23.94 kB / 419.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.2959, allocations: 0.8042 MB / 420 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.2998, allocations: 2.93 MB / 422.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.3011, allocations: 1.011 MB / 423.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.3016, allocations: 238.4 kB / 424.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.189e-05/0.3017, allocations: 93.66 kB / 424.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3018, allocations: 39.12 kB / 424.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.294e-06/0.3018, allocations: 0 / 424.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.008137/0.3099, allocations: 2.427 MB / 426.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.31, allocations: 89.59 kB / 426.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.3104, allocations: 316.4 kB / 427.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.3104, allocations: 41.7 kB / 427.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.3106, allocations: 354.6 kB / 427.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.3108, allocations: 216.9 kB / 427.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.311, allocations: 150.5 kB / 427.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3112, allocations: 354.7 kB / 428.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/0.312, allocations: 277.8 kB / 428.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009504/0.3129, allocations: 0.5042 MB / 429 MB, free: 12.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.3147, allocations: 0.8076 MB / 429.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3147, allocations: 4 kB / 429.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002214/0.317, allocations: 0.9026 MB / 430.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.317, allocations: 11.94 kB / 430.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.317, allocations: 8 kB / 430.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.3173, allocations: 77.66 kB / 430.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.3182, allocations: 195.7 kB / 431 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.3202, allocations: 2.88 MB / 433.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.3209, allocations: 67.86 kB / 433.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.321, allocations: 39.98 kB / 434 MB, free: 7.172 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.0002979/0.3213, allocations: 221.6 kB / 434.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.3214, allocations: 43.47 kB / 434.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.3237, allocations: 0.7428 MB / 435 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.3237, allocations: 8 kB / 435 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.3238, allocations: 3.984 kB / 435 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3238, allocations: 7.922 kB / 435 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.3269, allocations: 1.421 MB / 436.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3269, allocations: 0 / 436.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.3276, allocations: 135.8 kB / 436.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.3278, allocations: 61.66 kB / 436.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.3278, allocations: 16 kB / 436.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.3298, allocations: 2.848 MB / 439.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3298, allocations: 0 / 439.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.3324, allocations: 1.094 MB / 440.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.3327, allocations: 160.5 kB / 440.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/0.3328, allocations: 16.03 kB / 440.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.3333, allocations: 47.97 kB / 440.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3334, allocations: 48.5 kB / 440.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.3335, allocations: 19.98 kB / 440.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.3337, allocations: 215.1 kB / 441 MB, free: 15.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3337, allocations: 0 / 441 MB, free: 15.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006964/0.3344, allocations: 184 kB / 441.2 MB, free: 15.49 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.0002961/0.3347, allocations: 171 kB / 441.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.3369, allocations: 0.916 MB / 442.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3369, allocations: 0 / 442.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.338, allocations: 0.5515 MB / 442.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.3385, allocations: 48.95 kB / 442.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.3412, allocations: 1.28 MB / 444.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.3417, allocations: 0.8848 MB / 445.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.3419, allocations: 63.39 kB / 445.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3419, allocations: 0 / 445.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.01495/0.3569, allocations: 13.29 MB / 458.4 MB, free: 14.18 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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