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.001813/0.001813, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00252/0.00252, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.033/2.033, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3159, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008294/0.3242, allocations: 6.701 MB / 416.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005629/0.3299, allocations: 2.448 MB / 419.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.3312, allocations: 20 kB / 419.1 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004936/0.3361, allocations: 1.878 MB / 421 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.3386, allocations: 0.5508 MB / 421.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.3418, allocations: 1.317 MB / 422.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.344, allocations: 1.117 MB / 424 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.346, allocations: 0.9362 MB / 424.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009032/0.3469, allocations: 498.1 kB / 425.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.348, allocations: 0.6147 MB / 426 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.3483, allocations: 100 kB / 426.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.3497, allocations: 439.6 kB / 426.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003252/0.35, allocations: 255 kB / 426.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009116/0.3509, allocations: 0.5558 MB / 427.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.3542, allocations: 1.666 MB / 429 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.3542, allocations: 7.984 kB / 429 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3542, allocations: 0 / 429 MB, free: 14.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.586e-05/0.3543, allocations: 3.938 kB / 429 MB, free: 14.4 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.007417/0.3617, allocations: 2.018 MB / 431 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3618, allocations: 12.03 kB / 431 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.3657, allocations: 0.5109 MB / 431.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.3661, allocations: 310.5 kB / 431.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.3663, allocations: 94.95 kB / 432 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.3666, allocations: 132.4 kB / 432.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.3697, allocations: 1.304 MB / 433.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.517e-05/0.3698, allocations: 0 / 433.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.3699, allocations: 56 kB / 433.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3699, allocations: 32 kB / 433.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.3727, allocations: 1.193 MB / 434.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007857/0.3805, allocations: 4.265 MB / 438.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.3834, allocations: 2.448 MB / 441.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.3845, allocations: 0.5072 MB / 441.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.3847, allocations: 195.2 kB / 442.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3848, allocations: 43.56 kB / 442.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.717e-06/0.3848, allocations: 0 / 442.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01149/0.3963, allocations: 3.764 MB / 445.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.3964, allocations: 94.11 kB / 446 MB, free: 12.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.397, allocations: 389.4 kB / 446.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.725e-05/0.3971, allocations: 45.7 kB / 446.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.3975, allocations: 458.9 kB / 446.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/0.3979, allocations: 417.8 kB / 447.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/0.3983, allocations: 223.4 kB / 447.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3985, allocations: 374.8 kB / 447.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.3997, allocations: 439.8 kB / 448.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.4011, allocations: 0.6918 MB / 449 MB, free: 9.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.4035, allocations: 1.175 MB / 450.1 MB, free: 8.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4036, allocations: 4 kB / 450.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003419/0.407, allocations: 1.466 MB / 451.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.407, allocations: 8 kB / 451.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.4071, allocations: 8 kB / 451.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/0.4078, allocations: 197.6 kB / 451.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4091, allocations: 291.6 kB / 452.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/0.4142, allocations: 4.37 MB / 456.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.4154, allocations: 83.84 kB / 456.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.4157, allocations: 51.98 kB / 456.6 MB, free: 1.477 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.000643/0.4163, allocations: 273.5 kB / 456.9 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.4165, allocations: 71.16 kB / 456.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/0.42, allocations: 1.339 MB / 458.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.4201, allocations: 12 kB / 458.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/0.4201, allocations: 7.938 kB / 458.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.4202, allocations: 7.969 kB / 458.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.4256, allocations: 2.594 MB / 460.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.4256, allocations: 3.938 kB / 460.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.4267, allocations: 215.8 kB / 461.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/0.4273, allocations: 165.5 kB / 461.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.4274, allocations: 27.98 kB / 461.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.4319, allocations: 4.181 MB / 465.5 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.432, allocations: 4.312 kB / 465.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.4365, allocations: 1.876 MB / 467.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.437, allocations: 224.1 kB / 467.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.4372, allocations: 24 kB / 467.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007953/0.438, allocations: 63.89 kB / 467.7 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.4383, allocations: 84.88 kB / 467.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.4384, allocations: 40.05 kB / 467.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.4388, allocations: 267.2 kB / 468.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4388, allocations: 0 / 468.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001401/0.4402, allocations: 312.1 kB / 468.4 MB, free: 5.262 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.0004196/0.4406, allocations: 167 kB / 468.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.4442, allocations: 1.462 MB / 470 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4442, allocations: 0 / 470 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.4461, allocations: 0.8661 MB / 470.8 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.4471, allocations: 65.56 kB / 470.9 MB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.4521, allocations: 1.973 MB / 472.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.4528, allocations: 1.005 MB / 473.9 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.4532, allocations: 87.41 kB / 474 MB, free: 15.51 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4532, allocations: 0 / 474 MB, free: 15.51 MB / 398.1 MB Notification: Performance of Templates: time 0.02938/0.4826, allocations: 19.72 MB / 493.7 MB, free: 11.78 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