Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.00106/0.00106, allocations: 191 kB / 18.67 MB, free: 4.434 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2427, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007001/0.2498, allocations: 6.714 MB / 408.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.2535, allocations: 2.393 MB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.2539, allocations: 20 kB / 410.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.2576, allocations: 1.879 MB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.2591, allocations: 0.6989 MB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.2612, allocations: 1.172 MB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.2624, allocations: 1.121 MB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.2636, allocations: 0.9478 MB / 416.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005029/0.2641, allocations: 482.2 kB / 416.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/0.2647, allocations: 0.6225 MB / 417.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.2649, allocations: 100 kB / 417.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.2657, allocations: 423.6 kB / 418 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.2658, allocations: 255 kB / 418.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.2663, allocations: 0.5636 MB / 418.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.2679, allocations: 1.639 MB / 420.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2679, allocations: 0 / 420.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.2679, allocations: 0 / 420.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.2679, allocations: 3.938 kB / 420.4 MB, free: 5.812 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006/0.2739, allocations: 2.01 MB / 422.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.274, allocations: 8.031 kB / 422.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.2775, allocations: 0.5147 MB / 422.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2778, allocations: 302.8 kB / 423.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.2779, allocations: 98.89 kB / 423.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.2781, allocations: 132.3 kB / 423.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.2803, allocations: 1.296 MB / 424.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.2804, allocations: 4 kB / 424.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.2805, allocations: 55.94 kB / 424.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.2805, allocations: 35.98 kB / 424.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.2829, allocations: 1.193 MB / 426.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/0.2888, allocations: 4.182 MB / 430.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.2913, allocations: 2.452 MB / 432.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009226/0.2922, allocations: 0.5047 MB / 433.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.2923, allocations: 106.1 kB / 433.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2924, allocations: 47.56 kB / 433.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.856e-06/0.2924, allocations: 0 / 433.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01068/0.3031, allocations: 3.784 MB / 437.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3032, allocations: 94.11 kB / 437.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.3036, allocations: 393.4 kB / 437.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.3037, allocations: 45.7 kB / 437.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.3039, allocations: 458.9 kB / 438.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.3042, allocations: 421.8 kB / 438.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.3045, allocations: 231.4 kB / 438.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3046, allocations: 370.8 kB / 439.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.3057, allocations: 443.7 kB / 439.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3069, allocations: 0.6997 MB / 440.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002287/0.3092, allocations: 1.186 MB / 441.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3092, allocations: 0 / 441.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003006/0.3122, allocations: 1.47 MB / 442.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3123, allocations: 8 kB / 442.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3123, allocations: 8 kB / 442.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.3128, allocations: 209.3 kB / 443.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.3141, allocations: 295.6 kB / 443.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.3182, allocations: 4.359 MB / 447.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.3192, allocations: 79.86 kB / 447.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.3193, allocations: 59.97 kB / 447.9 MB, free: 9.043 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004252/0.3197, allocations: 273.5 kB / 448.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.3199, allocations: 63.25 kB / 448.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.3228, allocations: 1.355 MB / 449.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3228, allocations: 12 kB / 449.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3229, allocations: 7.938 kB / 449.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3229, allocations: 7.969 kB / 449.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.3273, allocations: 2.602 MB / 452.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3273, allocations: 7.875 kB / 452.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.3283, allocations: 215.9 kB / 452.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/0.3287, allocations: 165.5 kB / 452.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.3288, allocations: 28.17 kB / 452.6 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.3324, allocations: 4.18 MB / 456.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3324, allocations: 3.938 kB / 456.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.3362, allocations: 1.892 MB / 458.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.3366, allocations: 228.2 kB / 458.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3367, allocations: 24 kB / 458.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007048/0.3374, allocations: 63.95 kB / 459 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.3376, allocations: 96.92 kB / 459.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.3377, allocations: 35.98 kB / 459.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.338, allocations: 267.2 kB / 459.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.338, allocations: 0 / 459.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.3391, allocations: 312 kB / 459.7 MB, free: 12.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003135/0.3394, allocations: 175.5 kB / 459.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.3424, allocations: 1.457 MB / 461.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3424, allocations: 0 / 461.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.3438, allocations: 0.8628 MB / 462.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.3444, allocations: 65.55 kB / 462.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.3482, allocations: 1.977 MB / 464.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.3487, allocations: 1.005 MB / 465.2 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.3491, allocations: 87.39 kB / 465.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3491, allocations: 192 / 465.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of Templates: time 0.02178/0.3709, allocations: 19.76 MB / 485.1 MB, free: 3.25 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches