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.001367/0.001372, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 55.97 kB / 306.9 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.09047, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009274/0.09979, allocations: 6.697 MB / 364.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004408/0.1042, allocations: 2.46 MB / 366.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.105, allocations: 20 kB / 366.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.1093, allocations: 1.882 MB / 368.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.1109, allocations: 0.5395 MB / 369.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.1135, allocations: 1.325 MB / 370.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.1149, allocations: 1.113 MB / 371.5 MB, free: 0 / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1526/0.2675, allocations: 0.9288 MB / 372.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.2687, allocations: 488.2 kB / 372.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.2699, allocations: 0.6136 MB / 373.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.2701, allocations: 100.7 kB / 373.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.2713, allocations: 451.9 kB / 374.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.2715, allocations: 246.8 kB / 374.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.272, allocations: 0.5596 MB / 374.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.2741, allocations: 1.654 MB / 376.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2741, allocations: 0 / 376.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2741, allocations: 6.188 kB / 376.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.2742, allocations: 1.625 kB / 376.5 MB, free: 8.629 MB / 302.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.006125/0.2803, allocations: 2.02 MB / 378.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2803, allocations: 11.06 kB / 378.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.2839, allocations: 0.5101 MB / 379.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.2842, allocations: 316.5 kB / 379.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.2843, allocations: 98.02 kB / 379.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.2845, allocations: 127.5 kB / 379.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.2868, allocations: 1.3 MB / 380.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.2868, allocations: 9.969 kB / 380.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.287, allocations: 55.03 kB / 381 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.287, allocations: 30.16 kB / 381 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.2894, allocations: 1.192 MB / 382.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005873/0.2953, allocations: 4.301 MB / 386.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.2973, allocations: 2.443 MB / 388.9 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008496/0.2982, allocations: 0.5074 MB / 389.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.2983, allocations: 189.7 kB / 389.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2984, allocations: 46.95 kB / 389.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.437e-06/0.2984, allocations: 4 kB / 389.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009611/0.308, allocations: 3.762 MB / 393.4 MB, free: 52 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.3081, allocations: 90.83 kB / 393.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.3085, allocations: 397.2 kB / 393.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.3086, allocations: 45.58 kB / 394 MB, free: 15.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.3088, allocations: 450.2 kB / 394.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.3091, allocations: 433 kB / 394.8 MB, free: 15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.3095, allocations: 225.1 kB / 395 MB, free: 14.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3096, allocations: 371.6 kB / 395.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3107, allocations: 434.5 kB / 395.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.3118, allocations: 0.6942 MB / 396.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.314, allocations: 1.179 MB / 397.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3141, allocations: 0 / 397.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002815/0.3169, allocations: 1.468 MB / 399.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3169, allocations: 19.19 kB / 399.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3169, allocations: 5.094 kB / 399.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.3174, allocations: 198.5 kB / 399.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.3186, allocations: 286.5 kB / 399.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.3225, allocations: 4.374 MB / 404 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00096/0.3234, allocations: 83.77 kB / 404.1 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.3235, allocations: 51.2 kB / 404.2 MB, free: 8.219 MB / 318.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.0004337/0.324, allocations: 268.4 kB / 404.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.3241, allocations: 67.66 kB / 404.5 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.3271, allocations: 1.348 MB / 405.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3271, allocations: 12 kB / 405.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3272, allocations: 7.938 kB / 405.9 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3272, allocations: 3.984 kB / 405.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/0.3319, allocations: 2.609 MB / 408.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.3319, allocations: 7.984 kB / 408.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009593/0.3328, allocations: 214.4 kB / 408.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.3333, allocations: 163.7 kB / 408.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.3334, allocations: 27.98 kB / 408.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.3371, allocations: 4.184 MB / 413.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3371, allocations: 3.938 kB / 413.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/0.3409, allocations: 1.873 MB / 415 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.3413, allocations: 220.1 kB / 415.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3414, allocations: 24 kB / 415.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.342, allocations: 72 kB / 415.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.3422, allocations: 84.88 kB / 415.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.3423, allocations: 32 kB / 415.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002974/0.3426, allocations: 271.2 kB / 415.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3426, allocations: 0 / 415.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00115/0.3438, allocations: 308.1 kB / 415.9 MB, free: 12.38 MB / 334.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.0002817/0.3441, allocations: 178.5 kB / 416.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.3477, allocations: 1.5 MB / 417.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3477, allocations: 4.062 kB / 417.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.3492, allocations: 0.8557 MB / 418.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.3497, allocations: 73.48 kB / 418.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.3535, allocations: 1.953 MB / 420.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.3541, allocations: 1.005 MB / 421.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007198/0.3548, allocations: 142.6 kB / 421.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.3551, allocations: 71.42 kB / 421.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of SimCode: time 1.874e-06/0.3551, allocations: 0 / 421.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of Templates: time 0.01742/0.3725, allocations: 10.3 MB / 432 MB, free: 12.34 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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