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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 112 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002007, allocations: 192 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 14.96 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 43.94 kB / 351.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2557, allocations: 49.43 MB / 400.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007984/0.2638, allocations: 6.706 MB / 407.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004044/0.2678, allocations: 2.393 MB / 409.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.2685, allocations: 20 kB / 409.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003756/0.2723, allocations: 1.873 MB / 411.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.2738, allocations: 0.7161 MB / 412.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.276, allocations: 1.168 MB / 413.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.2772, allocations: 1.125 MB / 414.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2784, allocations: 0.9401 MB / 415.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.2789, allocations: 486.1 kB / 416.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005846/0.2794, allocations: 0.6225 MB / 416.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.2796, allocations: 100 kB / 416.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007197/0.2803, allocations: 427.6 kB / 417.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.2805, allocations: 247.1 kB / 417.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.2809, allocations: 0.5636 MB / 418.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.2824, allocations: 1.647 MB / 419.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2824, allocations: 4 kB / 419.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2824, allocations: 0 / 419.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2825, allocations: 4 kB / 419.8 MB, free: 5.742 MB / 334.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.005561/0.288, allocations: 2.006 MB / 421.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2881, allocations: 12.03 kB / 421.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.2914, allocations: 0.5069 MB / 422.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.2917, allocations: 306.8 kB / 422.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.2918, allocations: 94.95 kB / 422.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.292, allocations: 132.3 kB / 422.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.294, allocations: 1.3 MB / 424.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.2941, allocations: 4 kB / 424.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.2942, allocations: 52 kB / 424.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.2942, allocations: 32 kB / 424.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.2966, allocations: 1.193 MB / 425.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.3024, allocations: 4.186 MB / 429.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.3048, allocations: 2.448 MB / 432 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008796/0.3057, allocations: 0.506 MB / 432.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.3058, allocations: 110.1 kB / 432.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3059, allocations: 47.5 kB / 432.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.725e-06/0.3059, allocations: 0 / 432.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009962/0.3158, allocations: 3.791 MB / 436.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3159, allocations: 94.05 kB / 436.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.3163, allocations: 393.4 kB / 436.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.3164, allocations: 45.7 kB / 437 MB, free: 3.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.3166, allocations: 451 kB / 437.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.3169, allocations: 433.8 kB / 437.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.3172, allocations: 223.4 kB / 438.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3173, allocations: 374.8 kB / 438.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009883/0.3183, allocations: 439.8 kB / 438.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3195, allocations: 0.6996 MB / 439.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.3217, allocations: 1.179 MB / 440.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3217, allocations: 4 kB / 440.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002887/0.3246, allocations: 1.474 MB / 442.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3247, allocations: 11.94 kB / 442.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.3247, allocations: 11.98 kB / 442.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/0.3252, allocations: 197.6 kB / 442.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.3264, allocations: 291.6 kB / 442.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.3304, allocations: 4.371 MB / 447.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/0.3312, allocations: 79.86 kB / 447.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/0.3313, allocations: 59.97 kB / 447.2 MB, free: 8.969 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.0003528/0.3317, allocations: 265.5 kB / 447.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3318, allocations: 63.25 kB / 447.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.3346, allocations: 1.351 MB / 448.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3346, allocations: 12 kB / 448.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3347, allocations: 11.88 kB / 448.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3347, allocations: 7.969 kB / 448.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/0.339, allocations: 2.606 MB / 451.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.339, allocations: 12.06 kB / 451.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/0.3399, allocations: 215.7 kB / 451.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.3403, allocations: 161.5 kB / 451.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.3404, allocations: 31.98 kB / 451.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.3439, allocations: 4.177 MB / 456.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3439, allocations: 3.938 kB / 456.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.3475, allocations: 1.888 MB / 458 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.3479, allocations: 224.1 kB / 458.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.348, allocations: 24 kB / 458.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.3486, allocations: 63.95 kB / 458.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.3488, allocations: 92.92 kB / 458.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.3489, allocations: 35.98 kB / 458.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.3492, allocations: 267.2 kB / 458.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3492, allocations: 0 / 458.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3503, allocations: 312 kB / 459 MB, free: 12.72 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.0002921/0.3506, allocations: 175.5 kB / 459.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.3535, allocations: 1.453 MB / 460.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3535, allocations: 4 kB / 460.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.3549, allocations: 0.8671 MB / 461.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.3554, allocations: 69.55 kB / 461.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.359, allocations: 1.94 MB / 463.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.3595, allocations: 1.001 MB / 464.5 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005417/0.36, allocations: 154.6 kB / 464.7 MB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3603, allocations: 75.41 kB / 464.7 MB, free: 6.859 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3603, allocations: 0 / 464.7 MB, free: 6.859 MB / 382.1 MB Notification: Performance of Templates: time 0.01659/0.3769, allocations: 10.39 MB / 475.1 MB, free: 12.52 MB / 398.1 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/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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches