Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.0009723/0.0009723, allocations: 111.8 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008183/0.0008184, allocations: 39.94 kB / 350.1 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2347, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004858/0.2396, allocations: 5.028 MB / 404.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.2423, allocations: 2.065 MB / 406.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.2426, allocations: 20 kB / 406.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.245, allocations: 1.318 MB / 407.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.246, allocations: 0.5219 MB / 408.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.2475, allocations: 1.022 MB / 409.5 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006715/0.2482, allocations: 0.7161 MB / 410.2 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007675/0.249, allocations: 0.5986 MB / 410.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.2493, allocations: 314.8 kB / 411.1 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.2496, allocations: 422.3 kB / 411.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.2497, allocations: 52 kB / 411.5 MB, free: 21.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.2504, allocations: 367.6 kB / 411.9 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.2505, allocations: 147.4 kB / 412 MB, free: 20.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.2507, allocations: 362.2 kB / 412.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.2516, allocations: 1.164 MB / 413.6 MB, free: 19.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2517, allocations: 0 / 413.6 MB, free: 19.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2517, allocations: 0 / 413.6 MB, free: 19.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.2517, allocations: 0 / 413.6 MB, free: 19.24 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003661/0.2553, allocations: 1.451 MB / 415 MB, free: 17.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2554, allocations: 12.03 kB / 415 MB, free: 17.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.2577, allocations: 383.6 kB / 415.4 MB, free: 17.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.2579, allocations: 253.7 kB / 415.7 MB, free: 17.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.258, allocations: 62.38 kB / 415.7 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2581, allocations: 84.38 kB / 415.8 MB, free: 16.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.2594, allocations: 0.8761 MB / 416.7 MB, free: 16.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.2595, allocations: 4 kB / 416.7 MB, free: 16.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.2595, allocations: 32 kB / 416.7 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2596, allocations: 20 kB / 416.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.2611, allocations: 0.8003 MB / 417.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.2647, allocations: 2.965 MB / 420.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.2657, allocations: 1.007 MB / 421.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.2661, allocations: 238.4 kB / 421.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.2662, allocations: 97.64 kB / 421.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2663, allocations: 39.12 kB / 421.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.354e-06/0.2663, allocations: 7.938 kB / 421.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.00705/0.2733, allocations: 2.408 MB / 424.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2734, allocations: 93.66 kB / 424.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.2737, allocations: 299.2 kB / 424.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2737, allocations: 37.64 kB / 424.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2739, allocations: 366.5 kB / 425.1 MB, free: 7.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.274, allocations: 209 kB / 425.3 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.2742, allocations: 146.5 kB / 425.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.2743, allocations: 346.8 kB / 425.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.275, allocations: 277.8 kB / 426 MB, free: 6.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/0.2758, allocations: 0.5042 MB / 426.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.2773, allocations: 0.8153 MB / 427.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2773, allocations: 0 / 427.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001846/0.2791, allocations: 0.9025 MB / 428.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2792, allocations: 8 kB / 428.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.2792, allocations: 8 kB / 428.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.2794, allocations: 77.64 kB / 428.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.2802, allocations: 207.7 kB / 428.5 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.2816, allocations: 2.652 MB / 431.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.2822, allocations: 67.84 kB / 431.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.2823, allocations: 35.98 kB / 431.3 MB, free: 444 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.2825, allocations: 225.5 kB / 431.5 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.2826, allocations: 39.72 kB / 431.5 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.2845, allocations: 0.7506 MB / 432.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2846, allocations: 7.938 kB / 432.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2846, allocations: 4 kB / 432.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2846, allocations: 0 / 432.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.2873, allocations: 1.418 MB / 433.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.2873, allocations: 0 / 433.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.2879, allocations: 131.8 kB / 433.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.2882, allocations: 73.59 kB / 433.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.2882, allocations: 19.92 kB / 433.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.2901, allocations: 2.643 MB / 436.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2901, allocations: 4.125 kB / 436.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.2942, allocations: 2.359 MB / 439 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.2944, allocations: 164.5 kB / 439.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.2945, allocations: 12 kB / 439.1 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.295, allocations: 51.88 kB / 439.2 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.2951, allocations: 44.5 kB / 439.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.2952, allocations: 24.05 kB / 439.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002125/0.2954, allocations: 211.1 kB / 439.4 MB, free: 7.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2954, allocations: 0 / 439.4 MB, free: 7.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007914/0.2962, allocations: 195.9 kB / 439.6 MB, free: 7.559 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (58): * Single equations (assignments): 56 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.2965, allocations: 159.2 kB / 439.8 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.2986, allocations: 0.9162 MB / 440.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2986, allocations: 4.062 kB / 440.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009865/0.2996, allocations: 0.5472 MB / 441.3 MB, free: 5.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3, allocations: 44.66 kB / 441.3 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.3032, allocations: 1.877 MB / 443.2 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.3036, allocations: 0.8927 MB / 444.1 MB, free: 2.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004984/0.3042, allocations: 100.5 kB / 444.2 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3043, allocations: 55.41 kB / 444.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3043, allocations: 0 / 444.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of Templates: time 0.01166/0.316, allocations: 6.224 MB / 450.5 MB, free: 12.66 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches