Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.242, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008526/0.2506, allocations: 6.693 MB / 416.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.2553, allocations: 2.444 MB / 419.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009059/0.2563, allocations: 24 kB / 419.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00449/0.2608, allocations: 1.878 MB / 421 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.263, allocations: 0.5588 MB / 421.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.266, allocations: 1.307 MB / 422.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.2679, allocations: 1.121 MB / 424 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2695, allocations: 0.9386 MB / 424.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008056/0.2703, allocations: 490.1 kB / 425.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009455/0.2713, allocations: 0.6186 MB / 426 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.2716, allocations: 104 kB / 426.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.2728, allocations: 435.7 kB / 426.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.273, allocations: 251 kB / 426.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.2737, allocations: 0.5636 MB / 427.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.2761, allocations: 1.66 MB / 429 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2762, allocations: 3.984 kB / 429 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2762, allocations: 0 / 429 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.808e-05/0.2762, allocations: 0 / 429 MB, free: 14.44 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006586/0.2828, allocations: 2.026 MB / 431 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2829, allocations: 8.031 kB / 431 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.2864, allocations: 0.5031 MB / 431.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.2868, allocations: 314.5 kB / 431.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.161e-05/0.2869, allocations: 98.95 kB / 432 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.2871, allocations: 128.4 kB / 432.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.2895, allocations: 1.3 MB / 433.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.2895, allocations: 8 kB / 433.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.2897, allocations: 48 kB / 433.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2897, allocations: 32 kB / 433.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.2922, allocations: 1.197 MB / 434.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006979/0.2992, allocations: 4.273 MB / 438.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.3019, allocations: 2.45 MB / 441.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009462/0.3029, allocations: 0.5033 MB / 441.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.3031, allocations: 191.2 kB / 442.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.3031, allocations: 55.56 kB / 442.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.015e-06/0.3032, allocations: 0 / 442.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01065/0.3138, allocations: 3.753 MB / 445.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.3139, allocations: 90.11 kB / 446 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.3145, allocations: 389.4 kB / 446.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.3145, allocations: 49.7 kB / 446.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.3149, allocations: 454.9 kB / 446.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.3152, allocations: 429.8 kB / 447.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.3156, allocations: 223.4 kB / 447.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3157, allocations: 374.8 kB / 447.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3168, allocations: 435.8 kB / 448.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.3181, allocations: 0.6918 MB / 449 MB, free: 9.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.3204, allocations: 1.183 MB / 450.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3204, allocations: 7.938 kB / 450.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003111/0.3235, allocations: 1.462 MB / 451.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3236, allocations: 8 kB / 451.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3236, allocations: 8 kB / 451.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/0.3242, allocations: 197.5 kB / 451.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.3254, allocations: 287.6 kB / 452.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.3299, allocations: 4.363 MB / 456.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.3308, allocations: 83.91 kB / 456.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.331, allocations: 55.92 kB / 456.6 MB, free: 1.508 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.0004749/0.3315, allocations: 269.4 kB / 456.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.3316, allocations: 67.16 kB / 456.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.3347, allocations: 1.343 MB / 458.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3347, allocations: 12 kB / 458.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.3347, allocations: 7.938 kB / 458.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.3348, allocations: 11.97 kB / 458.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.3395, allocations: 2.594 MB / 460.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.3395, allocations: 7.938 kB / 460.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/0.3405, allocations: 203.8 kB / 461.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.3409, allocations: 173.6 kB / 461.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.341, allocations: 28 kB / 461.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/0.3452, allocations: 4.185 MB / 465.5 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3452, allocations: 7.938 kB / 465.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.3491, allocations: 1.868 MB / 467.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.3494, allocations: 228.2 kB / 467.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.3496, allocations: 28.05 kB / 467.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/0.3503, allocations: 59.95 kB / 467.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.3505, allocations: 88.88 kB / 467.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.3505, allocations: 35.98 kB / 467.8 MB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.3509, allocations: 263.2 kB / 468.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3509, allocations: 0 / 468.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00113/0.352, allocations: 316.1 kB / 468.4 MB, free: 5.289 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.000341/0.3524, allocations: 170.1 kB / 468.5 MB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.3554, allocations: 1.458 MB / 470 MB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3554, allocations: 3.938 kB / 470 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.3569, allocations: 0.8623 MB / 470.8 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.3575, allocations: 65.56 kB / 470.9 MB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.3617, allocations: 1.976 MB / 472.9 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.3624, allocations: 1.001 MB / 473.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.3628, allocations: 87.41 kB / 474 MB, free: 15.55 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3628, allocations: 0 / 474 MB, free: 15.55 MB / 398.1 MB Notification: Performance of Templates: time 0.02591/0.3887, allocations: 19.58 MB / 493.6 MB, free: 11.95 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches