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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 110 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 52.06 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2054, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005497/0.211, allocations: 6.652 MB / 413.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.2142, allocations: 2.45 MB / 416.2 MB, free: 18.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.2147, allocations: 27.94 kB / 416.2 MB, free: 18.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.2176, allocations: 1.772 MB / 418 MB, free: 16.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.2187, allocations: 473.5 kB / 418.4 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.2205, allocations: 1.294 MB / 419.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.2213, allocations: 1.082 MB / 420.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009529/0.2223, allocations: 0.8592 MB / 421.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.2227, allocations: 462.1 kB / 422.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.2231, allocations: 0.603 MB / 422.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.2232, allocations: 80 kB / 422.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006936/0.2239, allocations: 419.6 kB / 423.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.224, allocations: 227.1 kB / 423.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.2243, allocations: 0.5324 MB / 424 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2254, allocations: 1.631 MB / 425.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2254, allocations: 0 / 425.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2254, allocations: 3.938 kB / 425.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2255, allocations: 0 / 425.6 MB, free: 9.207 MB / 298.7 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.005195/0.2307, allocations: 2.022 MB / 427.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2307, allocations: 8.031 kB / 427.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.2338, allocations: 0.5108 MB / 428.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.234, allocations: 314.7 kB / 428.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.2341, allocations: 94.95 kB / 428.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.2342, allocations: 128.4 kB / 428.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.2361, allocations: 1.303 MB / 430 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.2361, allocations: 7.891 kB / 430 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.2362, allocations: 56 kB / 430 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2363, allocations: 28 kB / 430 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.2383, allocations: 1.193 MB / 431.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/0.2435, allocations: 4.312 MB / 435.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.2459, allocations: 2.445 MB / 438 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.2468, allocations: 0.5077 MB / 438.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.247, allocations: 195.2 kB / 438.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2471, allocations: 43.56 kB / 438.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.234e-06/0.2471, allocations: 0 / 438.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01035/0.2574, allocations: 3.788 MB / 442.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.2575, allocations: 98.05 kB / 442.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.2579, allocations: 393.4 kB / 443 MB, free: 6.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.258, allocations: 45.7 kB / 443.1 MB, free: 6.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.2583, allocations: 454.9 kB / 443.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.2586, allocations: 425.8 kB / 443.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.2589, allocations: 227.4 kB / 444.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.259, allocations: 374.8 kB / 444.5 MB, free: 5.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.2601, allocations: 439.8 kB / 444.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.2613, allocations: 0.6957 MB / 445.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.2635, allocations: 1.179 MB / 446.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2635, allocations: 4 kB / 446.8 MB, free: 2.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003013/0.2665, allocations: 1.482 MB / 448.3 MB, free: 1.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2666, allocations: 10.81 kB / 448.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.2666, allocations: 11.98 kB / 448.3 MB, free: 1.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.2671, allocations: 197.3 kB / 448.5 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.2683, allocations: 291.6 kB / 448.8 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.272, allocations: 3.967 MB / 452.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/0.2729, allocations: 80 kB / 452.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.273, allocations: 55.98 kB / 452.9 MB, free: 12.59 MB / 330.7 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.0003753/0.2733, allocations: 270.9 kB / 453.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.2735, allocations: 67.16 kB / 453.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/0.2765, allocations: 1.355 MB / 454.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.2765, allocations: 12 kB / 454.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2765, allocations: 4 kB / 454.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.2765, allocations: 3.984 kB / 454.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.2809, allocations: 2.625 MB / 457.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2809, allocations: 0 / 457.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000952/0.2819, allocations: 215.7 kB / 457.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.2823, allocations: 168.5 kB / 457.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.2824, allocations: 27.98 kB / 457.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.2856, allocations: 3.786 MB / 461.4 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2856, allocations: 4 kB / 461.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/0.2913, allocations: 3.439 MB / 464.8 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.2917, allocations: 224.3 kB / 465.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.815e-05/0.2918, allocations: 35.83 kB / 465.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.2924, allocations: 55.95 kB / 465.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.2926, allocations: 104.8 kB / 465.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/0.2927, allocations: 35.98 kB / 465.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.293, allocations: 267.2 kB / 465.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.293, allocations: 0 / 465.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001078/0.2941, allocations: 332 kB / 465.9 MB, free: 15.02 MB / 346.7 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.0002974/0.2944, allocations: 183.2 kB / 466.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.2972, allocations: 1.461 MB / 467.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2972, allocations: 0 / 467.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.2987, allocations: 0.8591 MB / 468.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.2992, allocations: 69.55 kB / 468.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.3035, allocations: 3.014 MB / 471.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.3041, allocations: 1.044 MB / 472.5 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007672/0.3049, allocations: 146.6 kB / 472.6 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.3052, allocations: 79.39 kB / 472.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3052, allocations: 0 / 472.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of Templates: time 0.01692/0.3221, allocations: 10.18 MB / 482.9 MB, free: 13.88 MB / 362.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches