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.001144/0.001144, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008363, allocations: 83.02 kB / 281.2 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.622e-05, allocations: 0 / 337.1 MB, free: 9.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09626, allocations: 50.42 MB / 387.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4381, allocations: 86.79 MB / 474.3 MB, free: 8.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4385, allocations: 91.94 kB / 474.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05841/0.4969, allocations: 25.28 MB / 499.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.497, allocations: 0 / 499.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.497, allocations: 12 kB / 499.7 MB, free: 14.3 MB / 378.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.003349/0.5003, allocations: 1.096 MB / 0.489 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5004, allocations: 16.03 kB / 0.489 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.5025, allocations: 314.9 kB / 0.4893 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.5029, allocations: 246.8 kB / 0.4896 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.5029, allocations: 31.98 kB / 0.4896 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.5031, allocations: 55.84 kB / 0.4896 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/0.5043, allocations: 0.6522 MB / 0.4903 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.5054, allocations: 0.6849 MB / 0.491 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5055, allocations: 0 / 0.491 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.5056, allocations: 7.953 kB / 0.491 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.5056, allocations: 20 kB / 0.491 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.5099, allocations: 2.845 MB / 0.4938 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.5109, allocations: 0.9401 MB / 0.4947 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.5112, allocations: 186.5 kB / 0.4949 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.5113, allocations: 101.6 kB / 0.4949 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.5114, allocations: 39.12 kB / 0.495 GB, free: 6.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.544e-06/0.5114, allocations: 0 / 0.495 GB, free: 6.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.004544/0.5159, allocations: 1.691 MB / 0.4966 GB, free: 4.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.516, allocations: 85.67 kB / 0.4967 GB, free: 4.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.5163, allocations: 246.2 kB / 0.497 GB, free: 4.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.5163, allocations: 25.7 kB / 0.497 GB, free: 4.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5166, allocations: 358.6 kB / 0.4973 GB, free: 4.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.5167, allocations: 205 kB / 0.4975 GB, free: 3.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.5168, allocations: 0 / 0.4975 GB, free: 3.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5169, allocations: 351.1 kB / 0.4979 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.5172, allocations: 186.5 kB / 0.498 GB, free: 3.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.5177, allocations: 421.1 kB / 0.4984 GB, free: 2.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007299/0.5184, allocations: 345.8 kB / 0.4988 GB, free: 2.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5184, allocations: 3.953 kB / 0.4988 GB, free: 2.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001396/0.5198, allocations: 0.7697 MB / 0.4995 GB, free: 1.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5198, allocations: 8 kB / 0.4995 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5199, allocations: 8 kB / 0.4995 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.5201, allocations: 65.97 kB / 0.4996 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/0.521, allocations: 215.7 kB / 0.4998 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.5228, allocations: 2.564 MB / 0.5023 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.5235, allocations: 60 kB / 0.5024 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.5235, allocations: 35.98 kB / 0.5024 GB, free: 14.6 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.5237, allocations: 128.7 kB / 0.5025 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.5238, allocations: 39.53 kB / 0.5026 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.5252, allocations: 0.6534 MB / 0.5032 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.5253, allocations: 12 kB / 0.5032 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5253, allocations: 3.938 kB / 0.5032 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.5253, allocations: 0 / 0.5032 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.5274, allocations: 1.235 MB / 0.5044 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5274, allocations: 0 / 0.5044 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.5281, allocations: 147.8 kB / 0.5046 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.5283, allocations: 61.62 kB / 0.5046 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.5284, allocations: 11.98 kB / 0.5046 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.5301, allocations: 2.537 MB / 0.5071 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5301, allocations: 0 / 0.5071 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.5316, allocations: 0.926 MB / 0.508 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.5318, allocations: 164.6 kB / 0.5082 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.5319, allocations: 0 / 0.5082 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.5324, allocations: 48.02 kB / 0.5082 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.5325, allocations: 44.48 kB / 0.5083 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.5326, allocations: 23.98 kB / 0.5083 GB, free: 8.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.5327, allocations: 178 kB / 0.5084 GB, free: 8.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5328, allocations: 0 / 0.5084 GB, free: 8.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006848/0.5334, allocations: 167.9 kB / 0.5086 GB, free: 7.891 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002729/0.5337, allocations: 151.1 kB / 0.5087 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.5348, allocations: 0.7272 MB / 0.5095 GB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5348, allocations: 0 / 0.5095 GB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.5353, allocations: 471.5 kB / 0.5099 GB, free: 6.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.5356, allocations: 36.77 kB / 0.5099 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.5375, allocations: 0.8361 MB / 0.5108 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.5379, allocations: 0.8964 MB / 0.5116 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.5384, allocations: 84.39 kB / 0.5117 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.5385, allocations: 51.41 kB / 0.5118 GB, free: 4.551 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5386, allocations: 0 / 0.5118 GB, free: 4.551 MB / 394.7 MB Notification: Performance of Templates: time 0.01051/0.5491, allocations: 5.443 MB / 0.5171 GB, free: 15.14 MB / 410.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/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