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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 107.3 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007733/0.0007733, allocations: 35.94 kB / 350 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2374, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005759/0.2432, allocations: 6.639 MB / 406.1 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.2471, allocations: 2.384 MB / 408.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.2475, allocations: 20 kB / 408.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.2507, allocations: 1.765 MB / 410.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2519, allocations: 0.6325 MB / 410.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.2535, allocations: 1.125 MB / 412.1 MB, free: 20.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008028/0.2543, allocations: 1.086 MB / 413.1 MB, free: 19.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009743/0.2553, allocations: 0.8631 MB / 414 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.2557, allocations: 462.1 kB / 414.5 MB, free: 18.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.2561, allocations: 0.5991 MB / 415.1 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.2563, allocations: 76 kB / 415.1 MB, free: 17.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.2568, allocations: 395.7 kB / 415.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.257, allocations: 227 kB / 415.7 MB, free: 17.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.2573, allocations: 0.5362 MB / 416.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.2583, allocations: 1.612 MB / 417.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2583, allocations: 0 / 417.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2583, allocations: 0 / 417.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2584, allocations: 0 / 417.9 MB, free: 14.88 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.005074/0.2634, allocations: 2.018 MB / 419.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2635, allocations: 8.031 kB / 419.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/0.2665, allocations: 0.5108 MB / 420.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.2668, allocations: 302.8 kB / 420.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.2668, allocations: 94.95 kB / 420.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.267, allocations: 132.4 kB / 420.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2688, allocations: 1.3 MB / 422.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.2688, allocations: 7.906 kB / 422.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.2689, allocations: 48 kB / 422.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.269, allocations: 32 kB / 422.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.2711, allocations: 1.201 MB / 423.5 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.276, allocations: 4.229 MB / 427.8 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.2779, allocations: 2.444 MB / 430.2 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/0.2787, allocations: 0.5117 MB / 430.7 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2788, allocations: 118 kB / 430.8 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.2789, allocations: 47.56 kB / 430.9 MB, free: 1.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 4.238e-06/0.2789, allocations: 4 kB / 430.9 MB, free: 1.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.0101/0.289, allocations: 3.776 MB / 434.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.2891, allocations: 90.11 kB / 434.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.2895, allocations: 393.4 kB / 435.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.2896, allocations: 49.7 kB / 435.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.2898, allocations: 458.9 kB / 435.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.2901, allocations: 421.8 kB / 436 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.2904, allocations: 235.4 kB / 436.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2906, allocations: 370.8 kB / 436.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.2917, allocations: 439.8 kB / 437.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.2929, allocations: 0.6918 MB / 437.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.2952, allocations: 1.179 MB / 438.9 MB, free: 8.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2952, allocations: 8 kB / 438.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003002/0.2982, allocations: 1.478 MB / 440.4 MB, free: 7.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2982, allocations: 8 kB / 440.4 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2983, allocations: 8 kB / 440.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.2988, allocations: 200.6 kB / 440.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.3, allocations: 295.5 kB / 440.9 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.3037, allocations: 3.953 MB / 444.9 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/0.3046, allocations: 87.91 kB / 444.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.3047, allocations: 55.98 kB / 445 MB, free: 2.469 MB / 314.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.000392/0.3051, allocations: 265.4 kB / 445.3 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.3052, allocations: 71.16 kB / 445.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.3082, allocations: 1.355 MB / 446.7 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3083, allocations: 12 kB / 446.7 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3083, allocations: 8 kB / 446.7 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3083, allocations: 4.172 kB / 446.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00443/0.3127, allocations: 2.622 MB / 449.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3128, allocations: 3.938 kB / 449.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/0.3137, allocations: 215.7 kB / 449.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.3141, allocations: 165.7 kB / 449.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.3142, allocations: 27.98 kB / 449.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.3176, allocations: 3.787 MB / 453.5 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3176, allocations: 4.031 kB / 453.5 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.3234, allocations: 3.443 MB / 457 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.3237, allocations: 224.2 kB / 457.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.3238, allocations: 24 kB / 457.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.3245, allocations: 59.95 kB / 457.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.3247, allocations: 100.8 kB / 457.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.3248, allocations: 35.98 kB / 457.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.325, allocations: 267.2 kB / 457.7 MB, free: 5.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.325, allocations: 0 / 457.7 MB, free: 5.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001137/0.3262, allocations: 336 kB / 458 MB, free: 4.895 MB / 330.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.0002903/0.3265, allocations: 168.1 kB / 458.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.3295, allocations: 1.461 MB / 459.6 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3295, allocations: 0 / 459.6 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.331, allocations: 0.8663 MB / 460.5 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.3315, allocations: 68.31 kB / 460.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.3361, allocations: 3.023 MB / 463.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.3367, allocations: 1.032 MB / 464.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000741/0.3375, allocations: 150.6 kB / 464.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.3377, allocations: 75.41 kB / 464.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3377, allocations: 0 / 464.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of Templates: time 0.01664/0.3544, allocations: 10.14 MB / 475 MB, free: 3.828 MB / 346.7 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/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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches